Mark stale issues and pull requests #1304
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 stale issues and pull requests | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
repo-token: ${{ secrets.githubToken }} | |
days-before-stale: 30 | |
stale-issue-message: > | |
There has not been any activity to this issue in the last 30 days. | |
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this. | |
stale-issue-label: 'stale' | |
exempt-issue-labels: 'confirmed,help-wanted' | |
stale-pr-message: > | |
There has not been any activity to this pull request in the last 30 days. | |
It will automatically be closed after 7 more days. Remove the `stale` label to prevent this. | |
stale-pr-label: 'stale' | |
exempt-pr-labels: 'awaiting-approval,work-in-progress' |