Skip to content

Commit 5a56445

Browse files
authored
Update close-issues.yml (#43877)
1 parent c853431 commit 5a56445

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

.github/policies/close-issues.yml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,24 @@ configuration:
2121
- closeIssue
2222

2323
eventResponderTasks:
24-
- description: Close issues labeled 'code-of-conduct'
25-
if:
26-
- payloadType: Issues
27-
- hasLabel:
28-
label: code-of-conduct
29-
then:
30-
- closeIssue
24+
- description: Remove needs-more-info label when author comments on issue
25+
if:
26+
- payloadType: Issue_Comment
27+
- isAction:
28+
action: Created
29+
- isActivitySender:
30+
issueAuthor: True
31+
- hasLabel:
32+
label: needs-more-info
33+
- isOpen
34+
then:
35+
- removeLabel:
36+
label: needs-more-info
37+
38+
- description: Close issues labeled 'code-of-conduct'
39+
if:
40+
- payloadType: Issues
41+
- hasLabel:
42+
label: code-of-conduct
43+
then:
44+
- closeIssue

0 commit comments

Comments
 (0)