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 a422cc0 commit f096915Copy full SHA for f096915
.github/workflows/stale.yaml
@@ -1,11 +1,11 @@
1
-name: Stale Issue Cron
+name: Stale Issue and Branch Cleanup
2
on:
3
schedule:
4
# Every day at midnight
5
- cron: "0 0 * * *"
6
workflow_dispatch:
7
jobs:
8
- stale:
+ issues:
9
runs-on: ubuntu-latest
10
permissions:
11
issues: write
@@ -32,3 +32,17 @@ jobs:
32
operations-per-run: 60
33
# Start with the oldest issues, always.
34
ascending: true
35
+ branches:
36
+ runs-on: ubuntu-latest
37
+ steps:
38
+ - name: Checkout repository
39
+ uses: actions/checkout@v2
40
+ - name: Run delete-old-branches-action
41
+ uses: beatlabs/delete-old-branches-action@v0.0.9
42
+ with:
43
+ repo_token: ${{ github.token }}
44
+ date: "6 months ago"
45
+ dry_run: false
46
+ delete_tags: false
47
+ # extra_protected_branch_regex: ^(foo|bar)$
48
+ exclude_open_pr_branches: true
0 commit comments