Stale issue & PR bot #34
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 & PR bot | |
| on: | |
| schedule: | |
| - cron: "30 1 * * *" # every day 01:30 UTC | |
| workflow_dispatch: | |
| concurrency: | |
| group: stale | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| jobs: | |
| stale: | |
| name: Mark stale | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Stale action | |
| uses: actions/stale@v9 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| days-before-issue-stale: 60 | |
| days-before-issue-close: 14 | |
| days-before-pr-stale: 60 | |
| days-before-pr-close: 14 | |
| stale-issue-label: stale | |
| stale-pr-label: stale | |
| stale-issue-message: >- | |
| This issue has been automatically marked as stale because it has not had | |
| any activity for 60 days. It will be closed in 14 days if no further | |
| activity occurs. Apply one of the exempt labels (`bug`, `security`, | |
| `good-first-issue`, `pinned`) or leave a comment to keep it open. | |
| stale-pr-message: >- | |
| This pull request has been automatically marked as stale because it has | |
| not had any activity for 60 days. It will be closed in 14 days if no | |
| further activity occurs. Please rebase onto `main` or leave a comment | |
| if it should remain open. | |
| close-issue-message: >- | |
| Closing this issue because it has been stale for more than 14 days. | |
| Feel free to reopen if it is still relevant. | |
| close-pr-message: >- | |
| Closing this pull request because it has been stale for more than 14 days. | |
| Feel free to reopen when ready. | |
| exempt-issue-labels: "bug,security,good-first-issue,pinned" | |
| exempt-pr-labels: "bug,security,good-first-issue,pinned" | |
| exempt-all-milestones: true | |
| exempt-all-assignees: false | |
| operations-per-run: 200 | |
| ascending: true | |
| remove-stale-when-updated: true | |
| delete-branch: false |