Mark stale issues and pull requests #39
This file contains hidden or 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: Mark stale issues and pull requests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '30 1 * * *' | |
| permissions: | |
| contents: read | |
| jobs: | |
| stale: | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0 | |
| with: | |
| operations-per-run: 1000 | |
| stale-issue-message: | | |
| Hello, to help manage issues we automatically close stale issues. | |
| This issue has been automatically marked as stale because it has not had activity for quite some time. If it is still relevant, leave a comment to keep it open. | |
| > This issue will be closed in 15 days if no further activity occurs. | |
| Thank you for your contributions. | |
| stale-pr-message: | | |
| Hello, this PR has been open for more than 28 days with no activity. | |
| If you think this is a mistake, please comment to keep this open. Thanks for contributing! | |
| > This PR will be closed in 15 days if no further activity occurs. | |
| exempt-issue-labels: 'keep open' | |
| exempt-pr-labels: 'keep open' | |
| close-issue-reason: 'not_planned' | |
| days-before-stale: 28 | |
| days-before-close: 15 | |
| stale-issue-label: 'not-planned' | |
| stale-pr-label: 'stale' |