stale.yml 528 B

123456789101112131415161718
  1. name: Close stale issues and PRs
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. stale:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/stale@v9
  9. with:
  10. days-before-stale: 30
  11. days-before-close: -1
  12. stale-issue-label: stale
  13. stale-pr-label: stale
  14. # action has a bug that keeps removing the stale label from stale PRs
  15. # it's thinking that the PR is updated when the stale label is added
  16. remove-pr-stale-when-updated: false
  17. operations-per-run: 1000