| Joakim Bech | 975fa78 | 2021-12-21 10:27:09 +0100 | [diff] [blame] | 1 | name: 'Close stale issues and pull requests with no recent activity' |
| 2 | on: |
| 3 | schedule: |
| 4 | - cron: "15 00 * * *" |
| 5 | |
| 6 | permissions: |
| 7 | issues: write |
| 8 | pull-requests: write |
| 9 | |
| 10 | jobs: |
| 11 | stale: |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| Joakim Bech | f6e05d3 | 2021-12-22 09:16:45 +0100 | [diff] [blame] | 14 | - uses: actions/stale@v4.1.0 |
| Joakim Bech | 975fa78 | 2021-12-21 10:27:09 +0100 | [diff] [blame] | 15 | 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 |