Close stale issues #100
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: "30 8 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
with: | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
exempt-issue-label: "no-stale,help-wanted" | |
exempt-pr-label: "no-stale,feedback-wanted" | |
remove-stale-when-updated: true | |
# Days before issue/PR is marked stale | |
days-before-stale: 70 | |
# Days before an issue/PR is closed after marking | |
days-before-close: 7 | |
stale-issue-message: > | |
There has been no recent activity on this issue. To keep our issues log | |
clean, we remove old and inactive issues. | |
Please update to the latest version of GPJax and | |
check if that resolves the issue. Let us know if that works for you | |
by leaving a comment. | |
This issue is now marked as stale and will be closed if no | |
further activity occurs. If you believe that this is incorrect, | |
please comment. Thank you! | |
close-issue-message: > | |
There has been no activity on this PR for some time. Therefore, we will | |
be automatically closing the PR if no new activity occurs within the next | |
seven days. | |
Thank you for your contributions. | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# Always start with the oldest issues | |
ascending: true | |
# Ensure that we do not encounter rate limits | |
operations-per-run: 60 |