Close stale issues and PRs #156
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: 'Close stale issues and PRs' | |
| on: | |
| schedule: | |
| # Run at 06:30 GMT everyday | |
| - cron: "30 6 * * *" | |
| jobs: | |
| stale: | |
| runs-on: | |
| group: databricks-protected-runner-group | |
| labels: linux-ubuntu-latest | |
| steps: | |
| # Release v8 (https://github.com/actions/stale/tree/v8.0.0) | |
| - uses: actions/stale@v8 | |
| with: | |
| stale-issue-message: "This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue." | |
| stale-pr-message: "This PR has been marked as Stale because it has been open for 30 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR." | |
| close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale." | |
| close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale." | |
| days-before-stale: 30 | |
| days-before-close: 7 | |
| # ignore checking issues with the following labels | |
| exempt-issue-labels: "epic, discussion" |