Stale issues and PRs #32
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 6 * * *" | |
| workflow_dispatch: | |
| permissions: {} | |
| concurrency: | |
| group: stale | |
| cancel-in-progress: false | |
| jobs: | |
| stale: | |
| name: Close stale issues and PRs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Run stale bot | |
| uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0 | |
| with: | |
| stale-issue-message: > | |
| This issue has been automatically marked as stale because it has not | |
| had recent activity. It will be closed in 14 days if no further | |
| activity occurs. | |
| stale-pr-message: > | |
| This pull request has been automatically marked as stale because it | |
| has not had recent activity. It will be closed in 14 days if no | |
| further activity occurs. | |
| days-before-stale: 60 | |
| days-before-close: 14 | |
| exempt-issue-labels: "pinned,security,tech-debt,enhancement" | |
| exempt-pr-labels: "pinned,security" |