stale.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # close-stale-issues (https://github.com/marketplace/actions/close-stale-issues)
  2. name: 'Close stale issues/PRs'
  3. on:
  4. schedule:
  5. - cron: '0 4 * * *'
  6. jobs:
  7. stale:
  8. permissions:
  9. issues: write
  10. pull-requests: write
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/stale@v6
  14. with:
  15. close-issue-message: >
  16. This issue has been automatically closed due to lack of activity. In an
  17. effort to reduce noise, please do not comment any further. Note that the
  18. core maintainers may elect to reopen this issue at a later date if deemed
  19. necessary.
  20. close-pr-message: >
  21. This PR has been automatically closed due to lack of activity.
  22. days-before-stale: 60
  23. days-before-close: 30
  24. exempt-issue-labels: 'status: accepted,status: blocked,status: needs milestone'
  25. operations-per-run: 100
  26. remove-stale-when-updated: false
  27. stale-issue-label: 'pending closure'
  28. stale-issue-message: >
  29. This issue has been automatically marked as stale because it has not had
  30. recent activity. It will be closed if no further activity occurs. NetBox
  31. is governed by a small group of core maintainers which means not all opened
  32. issues may receive direct feedback. **Do not** attempt to circumvent this
  33. process by "bumping" the issue; doing so will result in its immediate closure
  34. and you may be barred from participating in any future discussions. Please see
  35. our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
  36. stale-pr-label: 'pending closure'
  37. stale-pr-message: >
  38. This PR has been automatically marked as stale because it has not had
  39. recent activity. It will be closed automatically if no further action is
  40. taken.