stale.yml 1.9 KB

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