close-incomplete-issues.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # close-stale-issues (https://github.com/marketplace/actions/close-stale-issues)
  2. name: Close incomplete issues
  3. on:
  4. schedule:
  5. - cron: '15 4 * * *'
  6. workflow_dispatch:
  7. permissions:
  8. actions: write
  9. issues: write
  10. jobs:
  11. stale:
  12. if: github.repository == 'netbox-community/netbox'
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/stale@v9
  16. with:
  17. close-issue-message: >
  18. This issue is being closed as no further information has been provided. If
  19. you would like to revisit this topic, please first modify your original post
  20. to include all the requested detail, and then ask that the issue be reopened.
  21. days-before-stale: 7
  22. days-before-close: 7
  23. only-issue-labels: 'status: revisions needed'
  24. operations-per-run: 100
  25. remove-stale-when-updated: false
  26. stale-issue-label: 'pending closure'
  27. stale-issue-message: >
  28. This is a reminder that additional information is needed in order to further
  29. triage this issue. If the requested details are not provided, the issue will
  30. soon be closed automatically.