Stale issue handler #48441
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: "Stale issue handler" | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| stale: | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| runs-on: depot-ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/stale@v11 | |
| id: stale | |
| with: | |
| days-before-stale: 7 | |
| days-before-close: 5 | |
| exempt-issue-labels: "pinned,security,backlog,bug,waiting for feedback" | |
| exempt-pr-labels: "pinned,security,backlog,bug" | |
| # issues without the requested feedback close after a week | |
| - uses: actions/stale@v11 | |
| id: waiting | |
| with: | |
| only-issue-labels: "waiting for feedback" | |
| days-before-issue-stale: 7 | |
| days-before-issue-close: 0 | |
| days-before-pr-stale: -1 | |
| days-before-pr-close: -1 | |
| exempt-issue-labels: "pinned,security,backlog" | |
| close-issue-message: "Closing since the requested feedback was not provided. You can still comment with requested feedback and we'll reopen." |