We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcac293 commit c6dea60Copy full SHA for c6dea60
.github/workflows/repository_maintenance.yml
@@ -0,0 +1,20 @@
1
+name: Maintenance Tasks
2
+
3
+on:
4
+ repository_dispatch:
5
+ workflow_dispatch:
6
+ schedule:
7
+ - cron: '0 0 * * *' # This schedule runs the workflow at midnight every day
8
9
+jobs:
10
+ cleanup-stale-branches:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Cleanup Stale Branches
14
+ uses: cbrgm/cleanup-stale-branches-action@v1
15
+ with:
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
+ repository: ${{ github.repository }}
18
+ last-commit-age-days: 60
19
+ dry-run: false
20
+ rate-limit: true
0 commit comments