Skip to content

Commit

Permalink
Update close-issues.yml (#43877)
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren authored Dec 6, 2024
1 parent c853431 commit 5a56445
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/policies/close-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a56445

Please sign in to comment.