Close Stale Pull Requests #353
This file contains hidden or 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 Pull Requests | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # Run every day at midnight | |
| jobs: | |
| close_stale_prs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close stale pull requests | |
| uses: actions/stale@v9.1.0 | |
| with: | |
| days-before-pr-stale: 30 | |
| days-before-pr-close: 60 | |
| stale-pr-label: stale | |
| stale-pr-message: | | |
| This pull request has been marked as stale because it has been | |
| inactive for more than 30 days. Please update this pull request | |
| or it will be automatically closed soon. |