Mark stale issues and pull requests #624
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
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. | |
# | |
# You can adjust the behavior by modifying this file. | |
# For more information, see: | |
# https://github.com/actions/stale | |
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '29 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
# Changed from secrets.GITHUB_TOKEN to see if the commit is verified | |
repo-token: ${{ secrets.ACCESS_TOKEN }} | |
stale-issue-message: | |
This issue has been identified as stale because it has gone 60 days with no activity. | |
The issue will be closed in 5 days. If this is incorrect, simply comment on the issue, or remove the stale label. | |
stale-pr-message: | |
This PR has been identified as stale because it has gone 60 days with no activity. | |
The PR will be closed in 5 days. If this is incorrect, simply comment on the issue, or remove the stale label. | |
close-issue-message: | |
This issue was closed because it has been stalled for 65 days with no activity. | |
close-pr-message: | |
This PR was closed because it has been stalled for 65 days with no activity. | |
days-before-stale: 60 | |
days-before-close: 5 | |
stale-issue-label: '❌ No Issue Activity' | |
stale-pr-label: '❌ No PR Activity' | |
exempt-issue-labels: '☑ Keep Me' | |
exempt-pr-labels: '☑ Keep Me' | |
exempt-issue-assignees: 'nzrunner' | |
exempt-pr-assignees: 'nzrunner' |