| 1 | name: "Label / close stale issues" |
| 2 | on: |
| 3 | schedule: |
| 4 | - cron: "30 1 * * *" |
| 5 | |
| 6 | jobs: |
| 7 | stale: |
| 8 | permissions: |
| 9 | issues: write |
| 10 | pull-requests: write |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - uses: actions/stale@v10 |
| 14 | with: |
| 15 | close-issue-message: "This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!" |
| 16 | stale-issue-message: "This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue." |
| 17 | days-before-stale: 90 |
| 18 | days-before-close: 10 |
| 19 | days-before-pr-stale: -1 |
| 20 | days-before-pr-close: -1 |
| 21 | operations-per-run: 1000 |
| 22 | stale-issue-label: "stale" |
| 23 | stale-pr-label: "stale" |
| 24 | exempt-issue-labels: "needs-triage,no-stale,high,highest" |
| 25 | exempt-pr-labels: "no-stale" |