stale.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  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. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/stale@v3
  11. with:
  12. close-issue-message: >
  13. This issue has been automatically closed due to lack of activity. In an
  14. effort to reduce noise, please do not comment any further. Note that the
  15. core maintainers may elect to reopen this issue at a later date if deemed
  16. necessary.
  17. close-pr-message: >
  18. This PR has been automatically closed due to lack of activity.
  19. days-before-stale: 45
  20. days-before-close: 15
  21. exempt-issue-labels: 'status: accepted,status: blocked,status: needs milestone'
  22. remove-stale-when-updated: false
  23. stale-issue-label: 'pending closure'
  24. stale-issue-message: >
  25. This issue has been automatically marked as stale because it has not had
  26. recent activity. It will be closed if no further activity occurs. NetBox
  27. is governed by a small group of core maintainers which means not all opened
  28. issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
  29. stale-pr-label: 'pending closure'
  30. stale-pr-message: >
  31. This PR has been automatically marked as stale because it has not had
  32. recent activity. It will be closed automatically if no further action is
  33. taken.