stale.yml 743 B

1234567891011121314151617181920
  1. name: Close stale issues
  2. on:
  3. schedule:
  4. - cron: "30 3 * * *"
  5. jobs:
  6. stale:
  7. if: github.event.label.name != 'bypass-activity'
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/stale@v3
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. 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."
  14. close-issue-message: "This issue has been closed due to lack of activity, if this issue still persists, please re-open it."
  15. close-issue-label: "closed-no-issue-activity"
  16. stale-issue-label: "no-issue-activity"
  17. days-before-stale: 15
  18. days-before-close: 90