Close stale issues and PRs #357
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: # yamllint disable-line rule:truthy | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v8 | |
with: | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it | |
has not had recent activity. It will be closed if no further | |
activity occurs during the next 14 days or if the stale label | |
is not removed. | |
stale-pr-message: > | |
This PR has been automatically marked as stale because it has | |
not had recent activity. It will be closed if no further | |
activity occurs during the next 14 days or if the stale label | |
is not removed. | |
close-issue-message: > | |
This issue has been automatically closed because it has not | |
had recent activity. | |
close-pr-message: > | |
This PR has been automatically closed because it has not had | |
recent activity. | |
days-before-stale: 90 | |
days-before-close: 14 | |
exempt-issue-labels: bug | |
stale-issue-label: stale | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |