Mark stale issues and pull requests #485
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
# For more information, see: | |
# https://github.com/actions/stale | |
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
stale-issue-message: 'This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.' | |
days-before-stale: 45 | |
days-before-close: 7 | |
days-before-pr-close: -1 | |
exempt-all-milestones: true | |
close-issue-message: 'This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.' | |
stale-pr-label: 'no-pr-activity' | |
exempt-issue-labels: 'keep-fresh' | |
exempt-pr-labels: 'keep-fresh,awaiting-approval,work-in-progress' |