stale.yml 865 B

12345678910111213141516171819202122232425262728
  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: '0 */2 * * *'
  10. jobs:
  11. stale:
  12. runs-on: ubuntu-latest
  13. permissions:
  14. issues: write
  15. steps:
  16. - uses: actions/stale@v5
  17. with:
  18. repo-token: ${{ secrets.GITHUB_TOKEN }}
  19. remove-issue-stale-when-updated: true
  20. ascending: true
  21. days-before-stale: 30
  22. days-before-close: -1
  23. stale-issue-message: "As a part of this repository’s maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something."
  24. stale-issue-label: '[Status] Stale'