|
18 | 18 | stale:
|
19 | 19 | runs-on: ubuntu-latest
|
20 | 20 | steps:
|
| 21 | + # At Baseflow, we mark issues with the `status: needs more info` label when more information is |
| 22 | + # required to be able to solve an issue. When nobody (either original poster or other community |
| 23 | + # members) respond to the issue within 14 days the issue will be closed. |
| 24 | + # |
| 25 | + # To automate this process we utilize the [stale](https://github.com/actions/stale) GitHub action. |
| 26 | + # However the [stale](https://github.com/actions/stale) action requires an issue to be marked specifically |
| 27 | + # as "stale" before it will consider an issue to be closed. Therefore we utilize the following |
| 28 | + # configuration: |
| 29 | + # 1. Set the `stale-issue-label` parameter to `status: needs more info`. This will inform the stale action that all |
| 30 | + # issues marked with this particular label to be stale (note that Baseflow manually adds this label after initial triaging). |
| 31 | + # 2. Set the `days-before-stale` parameter to `-1`. This will prevent the [stale](https://github.com/actions/stale) action |
| 32 | + # from automatically marking issues as being "stale". As mentioned in step 1, at Baseflow we want to manually |
| 33 | + # triage the issue and mark it to require more information. |
| 34 | + # 3. Set the `close-issue-label` parameter to `status: needs more info` to make sure the label persists even after this |
| 35 | + # issue is closed. This will make sure the label is automatically removed when the issue is re-opened (most likely |
| 36 | + # this happend because someone added more information). |
| 37 | + # 4. Set the `days-before-close` parameter to `14` to indicate after how many days, since marking the issue with |
| 38 | + # the `status: needs more info` label, the issue should be closed automatically. |
| 39 | + # 5. Set the `close-issue-message` parameter with a text that will be placed as a comment to the respective issue that |
| 40 | + # is closed to explain why the issue was closed. |
21 | 41 | - uses: actions/stale@v8
|
22 | 42 | with:
|
23 |
| - any-of-labels: 'status: needs more info' |
| 43 | + stale-issue-label: 'status: needs more info' |
| 44 | + days-before-stale: -1 |
| 45 | + close-issue-label: 'status: needs more info' |
24 | 46 | close-issue-message: >
|
25 | 47 | Without additional information, we are unfortunately not able to resolve this issue.
|
26 | 48 | Therefore, we reluctantly closed this issue for now.
|
|
0 commit comments