Close inactive issues #695
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 inactive issues | |
on: | |
schedule: | |
- cron: "30 1 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
days-before-issue-stale: 60 | |
days-before-issue-close: 14 | |
stale-issue-label: "Stale" | |
stale-issue-message: > | |
This issue is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days. | |
close-issue-message: | | |
We are closing this issue because it has been inactive for a few months. | |
This probably means that it is not reproducible or it has been fixed in a newer version. | |
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority. | |
If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the [CONTRIBUTING.md](https://github.com/Shopify/shopify_python_api/blob/main/CONTRIBUTING.md) file for guidelines | |
Thank you! | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
exempt-issue-labels: "feature request" | |
close-issue-reason: "not_planned" |