We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87159c0 commit 66e337bCopy full SHA for 66e337b
.github/workflows/branch_cleanup.yml
@@ -0,0 +1,21 @@
1
+name: Cleanup Stale Branches
2
+
3
+on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ - cron: '0 0 * * *' # This schedule runs the workflow at midnight every day
7
8
+jobs:
9
+ cleanup-stale-branches:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Cleanup Stale Branches
13
+ uses: cbrgm/cleanup-stale-branches-action@v1
14
+ with:
15
+ token: ${{ secrets.GITHUB_TOKEN }}
16
+ repository: ${{ github.repository }}
17
+ # ignore-branches: ""
18
+ ignored-prefixes: "maintenance/"
19
+ last-commit-age-days: 90
20
+ dry-run: true
21
+ rate-limit: true
0 commit comments