| 1 |
name: Close stale issues and pull requests |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
schedule: |
| 5 |
- cron: "30 1 * * *" |
| 6 |
permissions: |
| 7 |
contents: read |
| 8 |
jobs: |
| 9 |
stale: |
| 10 |
permissions: |
| 11 |
contents: read |
| 12 |
issues: write |
| 13 |
pull-requests: write |
| 14 |
runs-on: ubuntu-latest |
| 15 |
steps: |
| 16 |
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0 |
| 17 |
with: |
| 18 |
days-before-stale: 90 # default is 60 |
| 19 |
days-before-close: 14 # default is 7 |
| 20 |
exempt-all-assignees: true |
| 21 |
exempt-draft-pr: true |
| 22 |
exempt-issue-labels: Keep, InProgress, NeedsTriage |
| 23 |
exempt-pr-labels: Keep |
| 24 |
operations-per-run: 100 |
| 25 |
stale-issue-message: > |
| 26 |
This issue has been marked as stale because there hasn't been any |
| 27 |
recent activity. It will be closed soon if there are no further |
| 28 |
updates. |
| 29 |
stale-pr-message: > |
| 30 |
This pull request has been marked as stale because there hasn't |
| 31 |
been any recent activity. It will be closed soon if there are no |
| 32 |
further updates. |