Mark and close stale issues #1503
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 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days' | |
days-before-stale: 30 | |
days-before-close: 30 | |
close-issue-message: 'Issue closed due to inactivity.' | |
stale-issue-label: 'triage/stale' | |
exempt-issue-labels: 'triage/accepted,triage/discuss,kind/design-issue,kind/health,kind/roadmap-item,kind/task' |