diff --git a/.github/policies/close-issues.yml b/.github/policies/close-issues.yml index f28495ac7685f..15958b5919ff7 100644 --- a/.github/policies/close-issues.yml +++ b/.github/policies/close-issues.yml @@ -21,10 +21,24 @@ configuration: - closeIssue eventResponderTasks: - - description: Close issues labeled 'code-of-conduct' - if: - - payloadType: Issues - - hasLabel: - label: code-of-conduct - then: - - closeIssue + - description: Remove needs-more-info label when author comments on issue + if: + - payloadType: Issue_Comment + - isAction: + action: Created + - isActivitySender: + issueAuthor: True + - hasLabel: + label: needs-more-info + - isOpen + then: + - removeLabel: + label: needs-more-info + + - description: Close issues labeled 'code-of-conduct' + if: + - payloadType: Issues + - hasLabel: + label: code-of-conduct + then: + - closeIssue