Close stale issues and PRs #94
This file contains 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: "Close stale issues and PRs" | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
permissions: | |
issues: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ github.token }} | |
days-before-issue-stale: 90 | |
days-before-issue-close: 14 | |
stale-issue-message: > | |
Thank you for contributing to the stencil repository! | |
This issue has been marked as stale since it has not had any activity in the last 90 days. It will be closed in the next 14 | |
days unless any other activity occurs or one of the following labels is added: "lifecycle/frozen". Please reach out | |
to the triage team (`@jaredallard`) if you think this issue is still relevant or you are interested in getting the | |
issue resolved. | |
close-issue-message: > | |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out | |
to the triage team (`@jaredallard`). Thanks! | |
stale-issue-label: "lifecycle/stale" | |
exempt-issue-labels: "lifecycle/frozen,status/backlog,status/in-progress,status/in-review" | |
close-issue-reason: "not_planned" | |
ascending: true |