| 1 |
name: "Close stale issues and PRs" |
| 2 |
|
| 3 |
on: |
| 4 |
schedule: |
| 5 |
# Every day at 00:00 |
| 6 |
- cron: "0 0 * * *" |
| 7 |
workflow_dispatch: |
| 8 |
|
| 9 |
jobs: |
| 10 |
stale: |
| 11 |
runs-on: ubuntu-latest |
| 12 |
|
| 13 |
steps: |
| 14 |
- uses: actions/[email protected] |
| 15 |
with: |
| 16 |
stale-issue-message: 'This issue had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity. Is this issue already resolved?' |
| 17 |
stale-issue-label: 'stale' |
| 18 |
exempt-issue-labels: 'bug,enhancement,good first issue' |
| 19 |
stale-pr-message: 'This pull request had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity.' |
| 20 |
stale-pr-label: 'stale' |
| 21 |
days-before-stale: 180 |
| 22 |
days-before-close: 14 |
| 23 |
operations-per-run: 200 |