Close Stale PRs #388
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close Stale PRs | |
on: | |
schedule: | |
- cron: "0 15 * * 1-5" | |
workflow_dispatch: ~ | |
jobs: | |
stale: | |
name: Close Stale PRs | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.' | |
days-before-pr-stale: 30 | |
days-before-pr-close: 10 |