Housekeeping #125
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: Housekeeping | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" # daily at midnight UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| stale: | |
| name: Close stale issues and PRs | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/stale@v10 | |
| with: | |
| stale-issue-message: > | |
| This issue has been inactive for 60 days and is now marked as stale. | |
| It will be closed in 7 days unless there is new activity. | |
| If this is still relevant, please leave a comment. | |
| stale-pr-message: > | |
| This pull request has been inactive for 60 days and is now marked as stale. | |
| It will be closed in 7 days unless there is new activity. | |
| close-issue-message: "Closed due to inactivity. Please reopen if still relevant." | |
| close-pr-message: "Closed due to inactivity. Please reopen if still relevant." | |
| stale-issue-label: "stale" | |
| stale-pr-label: "stale" | |
| days-before-stale: 60 | |
| days-before-close: 7 | |
| exempt-issue-labels: "pinned,security,in-progress" | |
| exempt-pr-labels: "pinned,in-progress" |