Close stale issues and PRs #492
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 | |
contents: read | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: jamestrousdale/[email protected] | |
id: gen | |
with: | |
app-id: '363587' | |
private-key: ${{ secrets.APP_KEY }} | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ steps.gen.outputs.access-token }} | |
stale-issue-label: 'stale/wontfix' | |
stale-issue-message: 'This issue is stale. If this issue is still occurring and you are on a [supported version](https://github.com/ciderapp/Cider-2/blob/main/SECURITY.md#supported-versions), please leave any comment (e.g. "bump") within the next 7 days and the issue will remain open. If you have any additional information that may help us resolve your issue, please include it with your comment.' | |
close-issue-message: 'This issue has been closed due to inactivity. If you find this bug to still be occurring in a [supported version](https://github.com/ciderapp/Cider-2/blob/main/SECURITY.md#supported-versions), please open a new issue with the necessary information.' | |
days-before-issue-stale: 14 | |
days-before-issue-close: 7 | |
exempt-issue-labels: "security,status/confirmed,stale/exempt" | |
exempt-all-assignees: true |