Issue and PR stale management #1234
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: "Issue and PR stale management" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
# Issue stale management | |
- uses: actions/stale@v4 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 90 | |
days-before-close: 15 | |
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days' | |
stale-issue-label: 'state: stale' | |
exempt-issue-labels: 'state: accepted, state: in-progress' | |
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 15 days' | |
stale-pr-label: 'state: stale' | |
exempt-pr-labels: 'state: accepted, state: in-progress' |