Manage Stale Issues and PRs #30
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: Manage Stale Issues and PRs | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1,3,5" # Mon/Wed/Fri at midnight UTC | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| stale: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 | |
| with: | |
| stale-issue-message: >- | |
| This issue has been automatically marked as stale because it has | |
| not had recent activity. It will be closed if no further activity | |
| occurs. Thank you for your contributions. | |
| stale-pr-message: >- | |
| This PR has been automatically marked as stale because it has not | |
| had recent activity. It will be closed if no further activity | |
| occurs. | |
| close-issue-message: >- | |
| This issue was closed because it has been stale for 7 days with | |
| no activity. | |
| close-pr-message: >- | |
| This PR was closed because it has been stale for 7 days with no | |
| activity. | |
| days-before-stale: 60 | |
| days-before-close: 7 | |
| stale-issue-label: "stale" | |
| stale-pr-label: "stale" | |
| exempt-issue-labels: "pinned,security,roadmap,bug,priority:critical,status:in-progress,status:blocked" | |
| exempt-pr-labels: "pinned,security,status:in-progress,status:blocked" | |
| exempt-all-issue-assignees: true | |
| exempt-draft-pr: true | |
| operations-per-run: 100 | |
| enable-statistics: true |