close-stale-prs.yml 669 B

1234567891011121314151617181920
  1. name: Close stale issues and PR
  2. on:
  3. schedule:
  4. - cron: '45 1 * * *'
  5. jobs:
  6. stale:
  7. runs-on: ubuntu-latest
  8. permissions:
  9. pull-requests: write
  10. steps:
  11. - uses: actions/stale@v9
  12. with:
  13. repo-token: ${{ secrets.GITHUB_TOKEN }}
  14. stale-pr-message: This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.
  15. close-pr-message: This PR was closed because it has been stalled for 5 days with no activity.
  16. close-pr-label: 🧶 stale
  17. days-before-stale: 30
  18. days-before-issue-stale: -1
  19. days-before-close: -1