close-stale-issues.yml 2.1 KB

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