Stale Issue and PR Cleanup #620
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: 'Stale Issue and PR Cleanup' | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 4 * * *' | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Action GitHub repository: https://github.com/actions/stale | |
| - uses: actions/stale@v9 | |
| id: stale | |
| with: | |
| days-before-stale: 14 | |
| days-before-close: 14 | |
| exempt-all-assignees: false | |
| exempt-draft-pr: true | |
| stale-issue-label: "Pending Closure" | |
| stale-pr-label: "Pending Closure" | |
| only-labels: "0 - Waiting on User" | |
| close-issue-label: "No Response / Stale" | |
| close-issue-reason: "not_planned" | |
| close-pr-label: "No Response / Stale" | |
| exempt-issue-labels: "Security,2 - Working,3 - Review" | |
| exempt-pr-labels: "Security,2 - Working,3 - Review" | |
| labels-to-remove-when-unstale: "0 - Waiting on User,Pending closure" | |
| remove-stale-when-updated: true | |
| stale-issue-message: | | |
| Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? | |
| This issue will be closed in 14 days if it continues to be inactive. | |
| close-issue-message: | | |
| As this issue has been inactive for some time, it has been automatically closed. | |
| If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request | |
| has been added. | |
| Thank you for your contribution. | |
| stale-pr-message: | | |
| Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? | |
| This pull request will be closed in 14 days if it continues to be inactive. | |
| close-pr-message: | | |
| As this pull request has been inactive for some time it has been automatically closed. | |
| If you feel the changes are still valid, please re-open the pull request once the changes and / or the additional information | |
| requested, has been added. | |
| Thank you for your contribution. |