Close stale issues and PRs #714
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: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 1 * * *' | |
permissions: {} | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 | |
with: | |
stale-issue-message: > | |
👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity. | |
It will be closed if no further activity occurs. | |
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. | |
Thank you for your contributions and help in keeping things tidy! | |
stale-pr-message: > | |
👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity. | |
It will be closed if no further activity occurs. | |
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. | |
Thank you for your contributions and help in keeping things tidy! | |
days-before-stale: 270 | |
days-before-close: 7 | |
exempt-issue-labels: 'Status: Pinned' | |
exempt-pr-labels: 'Status: Pinned' | |
operations-per-run: 100 | |
stale-issue-label: 'Status: Stale' | |
stale-pr-label: 'Status: Stale' |