Mark stale issues and pull requests #1950
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 | |
permissions: | |
contents: write # only for delete-branch option | |
issues: write | |
pull-requests: write | |
on: | |
schedule: | |
- cron: "0 0/6 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
exempt-issue-assignees: 'alexander0042' | |
exempt-pr-assignees: 'alexander0042' | |
exempt-issue-labels: 'keep,Needs Review' | |
exempt-pr-labels: 'keep' | |
repo-token: ${{ github.token }} | |
stale-issue-message: 'There has been no activity on this issue in the last ninety days and it will automatically close in seven days. Leave a comment on this issue to prevent it from closing automatically.' | |
stale-pr-message: 'There has not been any activity on this pull request in the last ninety days and it will automatically close in seven days. Leave a comment on this pull request to prevent it from closing automatically.' | |
close-issue-message: 'This issue has been automatically closed as there has been no further activity in seven days. Feel free to re-open this issue or you can create a follow-up issue.' | |
close-pr-message: 'This pull request has been automatically closed since there has been no further activity after seven days. Feel free to re-open the pull request or you can create a new follow-up pull request.' | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
days-before-stale: 90 | |
days-before-close: 7 | |
enable-statistics: 'true' |