stale.yml 1.1 KB

123456789101112131415161718192021222324
  1. # Configuration for close-stale-issues - https://github.com/marketplace/actions/close-stale-issues
  2. name: 'Close stale issues'
  3. on:
  4. schedule:
  5. - cron: '00 09 * * *'
  6. jobs:
  7. stale:
  8. runs-on: ubuntu-latest
  9. permissions:
  10. issues: write
  11. pull-requests: write
  12. steps:
  13. - uses: actions/stale@v9
  14. with:
  15. days-before-stale: 365
  16. days-before-close: 90
  17. exempt-issue-labels: 'type:security-issue,type:feature-request,type:enhancement,type:upstream-bug,state:awaiting-response,state:blocked,state:confirmed'
  18. exempt-all-milestones: true
  19. stale-issue-label: 'state:stale'
  20. stale-pr-label: 'state:stale'
  21. stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
  22. stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'