blob: e0d47f345b6b474b5f0ff1a08225c031771f7f5d [file] [log] [blame]
Joakim Bech975fa782021-12-21 10:27:09 +01001name: 'Close stale issues and pull requests with no recent activity'
2on:
3 schedule:
4 - cron: "15 00 * * *"
5
6permissions:
7 issues: write
8 pull-requests: write
9
10jobs:
11 stale:
12 runs-on: ubuntu-latest
13 steps:
Joakim Bechf6e05d32021-12-22 09:16:45 +010014 - uses: actions/stale@v4.1.0
Joakim Bech975fa782021-12-21 10:27:09 +010015 with:
16 repo-token: ${{ secrets.GITHUB_TOKEN }}
17 stale-issue-message: 'This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
18 stale-pr-message: 'This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
19 stale-issue-label: Stale
20 stale-pr-label: Stale
21 exempt-issue-labels: bug,enhancement
22 exempt-pr-labels: bug,enhancement
23 days-before-stale: 30
24 days-before-close: 5
25 remove-stale-when-updated: true
26 remove-issue-stale-when-updated: true
27 remove-pr-stale-when-updated: true