Close Stale PRs #159
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 PRs' | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| stale: | |
| name: 'Mark and Close Stale PRs' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Close Stale PRs' | |
| uses: actions/stale@v10 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale because it has not had recent activity for 30 days. | |
| **What happens next?** | |
| - If no further activity occurs, this PR will be automatically closed in 7 days | |
| - To keep this PR active, simply add a comment, push new commits, or add the `keep-open` label | |
| - If you believe this PR was marked as stale in error, please comment and we'll review it | |
| Thank you for your contribution! | |
| stale-pr-label: 'stale' | |
| close-pr-message: | | |
| This pull request has been automatically closed due to inactivity. | |
| **Why was this closed?** | |
| - No activity for 30 days total (23 days + 7 day grace period) | |
| - Marked as stale 7 days ago with no subsequent activity | |
| **Want to reopen?** | |
| - You can reopen this PR at any time if you want to continue working on it | |
| - Consider rebasing against the latest main branch before reopening | |
| - Feel free to reach out if you need any assistance | |
| Thank you for your contribution! I appreciate your effort. | |
| exempt-pr-labels: 'keep-open,wip,work-in-progress,security,pinned,dependencies' | |
| exempt-draft-pr: true | |
| days-before-issue-stale: -1 | |
| days-before-issue-close: -1 | |
| operations-per-run: 100 | |
| remove-stale-when-updated: true | |
| debug-only: false | |
| ascending: true |