Mark and close stale issues #1111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Mark and close stale issues' | |
on: | |
schedule: | |
- cron: '0 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v7 | |
with: | |
operations-per-run: 100 | |
days-before-issue-stale: 180 | |
days-before-issue-close: 365 | |
close-issue-label: 'autoclosed-unfixed' | |
stale-issue-message: 'This issue has not seen any activity in the past 6 months; it will be closed automatically one year from now if no action is taken.' | |
close-issue-message: 'This issue has been closed automatically because it has not been updated in 18 months. Please re-open if you still need this to be addressed.' | |
start-date: '2021-04-01T00:00:00Z' | |
days-before-pr-stale: 30 | |
days-before-pr-close: -1 | |
stale-pr-message: 'This PR has not seen any activity in the past month; if nobody comments or reviews it in the next week, the PR creator will be allowed to proceed with merging without explicit approval, should they wish to do so.' | |
stale-pr-label: 'unreviewed' | |
exempt-pr-labels: 'approval required' | |
exempt-draft-pr: true |