stale.yml 1020 B

1234567891011121314151617181920212223242526272829303132
  1. name: 'Close stale issues and PRs'
  2. on:
  3. schedule:
  4. - cron: '30 1 * * *'
  5. permissions:
  6. issues: write
  7. pull-requests: write
  8. jobs:
  9. stale:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/stale@v5
  13. with:
  14. days-before-stale: 90
  15. days-before-close: 60
  16. exempt-issue-labels: 'pinned,security'
  17. exempt-pr-labels: 'pinned,security'
  18. stale-issue-message: 'This issue has been automatically marked as stale because it has not had
  19. recent activity. It will be closed if no further activity occurs.
  20. If this is still an issue for you, please try to help by debugging it
  21. further and sharing your results.
  22. Thank you for your contributions.'
  23. stale-pr-message: 'This PR has been automatically marked as stale because it has not had
  24. recent activity. It will be closed if no further activity occurs.
  25. If this is still an issue for you, please try to complete the PR by adding tests and making sure that the CI is green.
  26. Thank you for your contributions.'