blob: 58043724484c568c620ea6d3fac7a2efaf817cdb [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:
14 - uses: actions/stale@v4.0.1
15
16 with:
17 repo-token: ${{ secrets.GITHUB_TOKEN }}
18 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.'
19 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.'
20 stale-issue-label: Stale
21 stale-pr-label: Stale
22 exempt-issue-labels: bug,enhancement
23 exempt-pr-labels: bug,enhancement
24 days-before-stale: 30
25 days-before-close: 5
26 remove-stale-when-updated: true
27 remove-issue-stale-when-updated: true
28 remove-pr-stale-when-updated: true