Close stale issues/PRs #41
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
# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues) | |
name: 'Close stale issues/PRs' | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
workflow_dispatch: | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
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. Note that the | |
core maintainers may elect to reopen this issue at a later date if deemed | |
necessary. | |
close-pr-message: > | |
This PR has been automatically closed due to lack of activity. | |
days-before-stale: 90 | |
days-before-close: 30 | |
exempt-issue-labels: 'status: accepted,status: blocked,status: needs milestone' | |
operations-per-run: 100 | |
remove-stale-when-updated: false | |
stale-issue-label: 'pending closure' | |
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. NetBox | |
is governed by a small group of core maintainers which means not all opened | |
issues may receive direct feedback. **Do not** attempt to circumvent this | |
process by "bumping" the issue; doing so will result in its immediate closure | |
and you may be barred from participating in any future discussions. Please see | |
our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md). | |
stale-pr-label: 'pending closure' | |
stale-pr-message: > | |
This PR has been automatically marked as stale because it has not had | |
recent activity. It will be closed automatically if no further action is | |
taken. |