Mark stale issues and pull requests #345
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
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. | |
# | |
# You can adjust the behavior by modifying this file. | |
# For more information, see: | |
# https://github.com/actions/stale | |
name: Mark stale issues and pull requests | |
on: | |
schedule: | |
- cron: '26 3 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: > | |
There hasn't been any activity on this issue recently. Due to the | |
high number of incoming GitHub notifications, we have to clean some | |
of the old issues, as many of them have already been resolved with | |
the latest updates. | |
Please make sure to update to the latest version and check if that | |
solves the issue. Let us know if that works for you by adding a | |
comment 👍 | |
This issue has now been marked as stale and will be closed if no | |
further activity occurs. Thank you for your contributions. | |
stale-pr-message: > | |
There hasn't been any activity on this pull request recently. This | |
pull request has been automatically marked as stale because of that | |
and will be closed if no further activity occurs within 7 days. | |
If you are the author of this PR, please leave a comment if you want | |
to keep it open. Also, please rebase your PR onto the latest dev | |
branch to ensure that it's up to date with the latest changes. | |
Thank you for your contribution! | |
stale-issue-label: 'stale' | |
stale-pr-label: 'stale' | |
exempt-pr-labels: "no-stale" | |
exempt-issue-labels: "no-stale, enhancement" |