stale.yml 906 B

1234567891011121314151617181920212223242526272829
  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: '35 8 * * *'
  10. jobs:
  11. stale:
  12. runs-on: ubuntu-latest
  13. permissions:
  14. issues: write
  15. pull-requests: write
  16. steps:
  17. - uses: actions/stale@v6
  18. with:
  19. repo-token: ${{ secrets.GITHUB_TOKEN }}
  20. stale-issue-message: 'This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
  21. stale-pr-message: 'This PR has not seen any action for a while! Closing for now, but it can be reopened at a later date.'
  22. stale-issue-label: 'no-issue-activity'
  23. stale-pr-label: 'no-pr-activity'
  24. days-before-close: -1