|
1 | 1 | --- |
2 | | -name: Manage Stale Items |
| 2 | +name: Stale |
3 | 3 |
|
4 | 4 | on: |
5 | 5 | schedule: |
6 | 6 | - cron: 00 00 * * * |
7 | | - |
| 7 | + |
8 | 8 | jobs: |
9 | 9 | stale: |
10 | 10 | runs-on: ubuntu-latest |
11 | 11 | permissions: |
| 12 | + contents: read |
12 | 13 | issues: write |
13 | 14 | pull-requests: write |
14 | 15 | steps: |
15 | 16 | - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0 |
16 | 17 | with: |
17 | | - repo-token: '${{ secrets.GITHUB_TOKEN }}' |
| 18 | + repo-token: ${{ secrets.GITHUB_TOKEN }} |
18 | 19 | days-before-stale: 60 |
19 | 20 | days-before-close: 30 |
20 | | - exempt-issue-labels: 'needs-triage' |
21 | | - exempt-pr-labels: 'needs-review' |
| 21 | + exempt-issue-labels: needs-triage |
| 22 | + exempt-pr-labels: needs-review |
| 23 | + exempt-all-assignees: true |
22 | 24 | remove-stale-when-updated: true |
23 | 25 | delete-branch: false |
24 | 26 | stale-issue-label: stale |
25 | 27 | stale-issue-message: > |
26 | | - 'Marking this issue as stale due to inactivity. This helps us focus |
| 28 | + Marking this issue as stale due to inactivity. This helps us focus |
27 | 29 | on the active issues. If this issue receives no comments in the next |
28 | 30 | 30 days it will automatically be closed. |
29 | 31 |
|
30 | 32 |
|
31 | 33 | If this issue was automatically closed and you feel this issue |
32 | 34 | should be reopened, we encourage creating a new issue linking back |
33 | | - to this one for added context. |
34 | | - |
35 | | - Thank you!' |
| 35 | + to this one for added context. |
36 | 36 | stale-pr-label: stale |
37 | 37 | stale-pr-message: > |
38 | | - 'Marking this pull request as stale due to inactivity. This helps us |
| 38 | + Marking this pull request as stale due to inactivity. This helps us |
39 | 39 | focus on the active pull requests. If this pull request receives no |
40 | 40 | comments in the next 30 days it will automatically be closed. |
41 | 41 |
|
| 42 | +
|
42 | 43 | If this pull request was automatically closed and you feel this pull |
43 | 44 | request should be reopened, we encourage creating a new pull request |
44 | | - linking back to this one for added context. |
45 | | - |
46 | | - Thank you!' |
| 45 | + linking back to this one for added context. |
0 commit comments