Close stale issues and PRs #57
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 issues and PRs" | |
| on: | |
| schedule: | |
| - cron: "0 2 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| stale-issue-message: > | |
| This issue has been marked as stale because it has had no activity for 7 days. | |
| It will be closed in 3 days if no further activity occurs. | |
| stale-pr-message: > | |
| This pull request has been marked as stale due to 7 days of inactivity. | |
| It will be closed in 3 days if no updates are made. | |
| days-before-stale: 7 | |
| days-before-close: 3 | |
| stale-issue-label: "stale" | |
| stale-pr-label: "stale" | |
| exempt-issue-labels: "help wanted, open-for-discussion, enhancement" |