Skip to content

Commit ac9ba4d

Browse files
authored
Update no-response.yml
1 parent 471cb64 commit ac9ba4d

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/no-response.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,31 @@ jobs:
1818
stale:
1919
runs-on: ubuntu-latest
2020
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.
2141
- uses: actions/stale@v8
2242
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'
2446
close-issue-message: >
2547
Without additional information, we are unfortunately not able to resolve this issue.
2648
Therefore, we reluctantly closed this issue for now.

0 commit comments

Comments
 (0)