Close stale issues and PRs #1306
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: 'Close stale issues and PRs' | |
on: | |
schedule: | |
- cron: '0 */6 * * *' | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
# General rules applied to both, issues and pull requests (PRs) | |
start-date: "2022-07-30T00:00:00Z" | |
days-before-close: 14 | |
days-before-stale: 90 | |
exempt-all-assignees: true | |
exempt-all-milestones: true | |
# Rules applied to Issues | |
exempt-issue-labels: "Epic, bug, priority-critical, priority-high, community-upvoted, for-review, security, keep" | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had | |
recent activity. It will be closed if no further activity occurs. | |
close-issue-message: > | |
This issue has been automatically closed due to lack of activity. In an | |
effort to reduce noise, please do not comment any further. | |
# Rules applied to PRs | |
exempt-pr-labels: "community-upvoted, for-review, security, keep" | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because it has not had | |
recent activity. It will be closed if no further activity occurs. | |
close-pr-message: > | |
This pull request has been automatically closed due to lack of activity. In an | |
effort to reduce noise, please do not comment any further. |