|
| 1 | +name: Stale |
| 2 | + |
| 3 | +on: |
| 4 | + schedule: |
| 5 | + - cron: "37 4 * * *" |
| 6 | + workflow_dispatch: |
| 7 | + |
| 8 | +permissions: {} |
| 9 | + |
| 10 | +jobs: |
| 11 | + stale: |
| 12 | + runs-on: ubuntu-latest |
| 13 | + permissions: |
| 14 | + issues: write |
| 15 | + pull-requests: write |
| 16 | + steps: |
| 17 | + - name: Mark stale unassigned issues and pull requests |
| 18 | + uses: actions/stale@v10 |
| 19 | + with: |
| 20 | + days-before-issue-stale: 14 |
| 21 | + days-before-issue-close: 7 |
| 22 | + days-before-pr-stale: 14 |
| 23 | + days-before-pr-close: 7 |
| 24 | + stale-issue-label: stale |
| 25 | + stale-pr-label: stale |
| 26 | + exempt-issue-labels: enhancement,maintainer,pinned,security,no-stale |
| 27 | + exempt-pr-labels: maintainer,no-stale |
| 28 | + operations-per-run: 1000 |
| 29 | + ascending: true |
| 30 | + exempt-all-assignees: true |
| 31 | + remove-stale-when-updated: true |
| 32 | + stale-issue-message: | |
| 33 | + This issue has been automatically marked as stale due to inactivity. |
| 34 | + Please add updated clawpatch details or it will be closed. |
| 35 | + stale-pr-message: | |
| 36 | + This pull request has been automatically marked as stale due to inactivity. |
| 37 | + Please update it or it will be closed. |
| 38 | + close-issue-message: | |
| 39 | + Closing due to inactivity. |
| 40 | + If this still affects clawpatch, open a new issue with current reproduction details. |
| 41 | + close-issue-reason: not_planned |
| 42 | + close-pr-message: | |
| 43 | + Closing due to inactivity. |
| 44 | + If this PR should be revived, reopen it with current context and validation. |
| 45 | +
|
| 46 | + - name: Mark stale assigned issues |
| 47 | + uses: actions/stale@v10 |
| 48 | + with: |
| 49 | + days-before-issue-stale: 30 |
| 50 | + days-before-issue-close: 10 |
| 51 | + days-before-pr-stale: -1 |
| 52 | + days-before-pr-close: -1 |
| 53 | + stale-issue-label: stale |
| 54 | + exempt-issue-labels: enhancement,maintainer,pinned,security,no-stale |
| 55 | + operations-per-run: 1000 |
| 56 | + ascending: true |
| 57 | + include-only-assigned: true |
| 58 | + remove-stale-when-updated: true |
| 59 | + stale-issue-message: | |
| 60 | + This assigned issue has been automatically marked as stale after 30 days of inactivity. |
| 61 | + Please add an update or it will be closed. |
| 62 | + close-issue-message: | |
| 63 | + Closing due to inactivity. |
| 64 | + If this still affects clawpatch, reopen or file a new issue with current evidence. |
| 65 | + close-issue-reason: not_planned |
| 66 | + |
| 67 | + - name: Mark stale assigned pull requests |
| 68 | + uses: actions/stale@v10 |
| 69 | + with: |
| 70 | + days-before-issue-stale: -1 |
| 71 | + days-before-issue-close: -1 |
| 72 | + days-before-pr-stale: 27 |
| 73 | + days-before-pr-close: 7 |
| 74 | + stale-pr-label: stale |
| 75 | + exempt-pr-labels: maintainer,no-stale |
| 76 | + operations-per-run: 1000 |
| 77 | + ascending: true |
| 78 | + include-only-assigned: true |
| 79 | + ignore-pr-updates: true |
| 80 | + remove-stale-when-updated: true |
| 81 | + stale-pr-message: | |
| 82 | + This assigned pull request has been automatically marked as stale after being open for 27 days. |
| 83 | + Please add an update or it will be closed. |
| 84 | + close-pr-message: | |
| 85 | + Closing due to inactivity. |
| 86 | + If this PR should be revived, reopen it with current context and validation. |
0 commit comments