Maintenance - Stale PRs #26
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: Maintenance - Stale PRs | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # daily midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| name: Mark Stale PRs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Mark Stale Pull Requests | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Disable issue handling. This workflow only manages PRs. | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 | |
| days-before-pr-stale: 14 | |
| days-before-pr-close: 30 | |
| stale-pr-message: | | |
| This PR has been inactive for 14 days and is now marked as stale. | |
| It will be automatically closed in 30 days if no further activity occurs. | |
| close-pr-message: | | |
| Since it has been a long time without updates, the PR has been automatically closed. | |
| If you need to continue, please reopen or create a new PR. | |
| exempt-pr-labels: pinned,WIP,on-hold |