Stale Issues and PRs #7
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 Issues and PRs | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Mark and close stale issues and PRs | |
| uses: actions/stale@v9 | |
| with: | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| stale-issue-label: "stale" | |
| stale-pr-label: "stale" | |
| stale-issue-message: | | |
| This issue has been automatically marked as stale due to inactivity. | |
| Please add a comment to keep it open. | |
| stale-pr-message: | | |
| This pull request has been automatically marked as stale due to inactivity. | |
| Please add a comment or push an update to keep it open. | |
| close-issue-message: | | |
| Closing this issue after a period of inactivity. Please reopen if needed. | |
| close-pr-message: | | |
| Closing this pull request after a period of inactivity. Please reopen if needed. |