This repository has been archived by the owner on May 20, 2024. It is now read-only.
Close stale issues #1281
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" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v2.0.0 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# See https://github.com/actions/stale/blob/master/action.yml for description of the options | |
stale-issue-message: | | |
This issue is marked as stale because it has not had any activity for 180 days. | |
If it's still important for you add a comment saying what it means to you, remove the stale label, and/or add the "important" label :) | |
However, if you just leave it like this, I'll close it in 30 days to help keep your issues relevant! | |
Thanks! | |
stale-pr-message: | | |
This pull request is marked as stale because it has not had any activity for 180 days. | |
If it's still important for you add a comment saying what it means to you, remove the stale label, and/or add the "important" label :) | |
However, if you just leave it like this, I'll close it in 30 days to help keep your pull requests relevant! | |
Thanks! | |
days-before-stale: 180 | |
days-before-close: 30 | |
# make it so we can exclude certain issues/PRs from the closing monster | |
exempt-issue-labels: important | |
exempt-pr-labels: important | |
# don't overwhelm us with loads of things to look at | |
operations-per-run: 5 |