stale.yml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
  2. #
  3. # You can adjust the behavior by modifying this file.
  4. # For more information, see:
  5. # https://github.com/actions/stale
  6. name: Mark stale issues and pull requests
  7. on:
  8. schedule:
  9. - cron: '32 18 * * *'
  10. jobs:
  11. stale:
  12. runs-on: ubuntu-latest
  13. permissions:
  14. issues: write
  15. pull-requests: write
  16. steps:
  17. - uses: actions/stale@v10
  18. with:
  19. repo-token: ${{ secrets.GITHUB_TOKEN }}
  20. 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.'
  21. stale-pr-message: 'This pull request 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. days-before-stale: 60
  23. days-before-close: 7
  24. close-issue-message: 'This issue was automatically closed due to inactivity.'
  25. close-pr-message: 'This pull request was automatically closed due to inactivity.'
  26. stale-issue-label: 'no-issue-activity'
  27. stale-pr-label: 'no-pr-activity'