add checkout step
This commit is contained in:
parent
fbd38968c9
commit
4ca12024b6
7
.github/workflows/clear_old_branches.yml
generated
vendored
7
.github/workflows/clear_old_branches.yml
generated
vendored
@ -1,8 +1,8 @@
|
|||||||
name: Cleanup merged branches
|
name: Cleanup Branches (Merged or Closed)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 3 * * *" # täglich um 03:00 UTC
|
- cron: "0 3 * * *" # daily at 03:00 UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -14,6 +14,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Delete merged or closed branches older than 7 days
|
- name: Delete merged or closed branches older than 7 days
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user