Skip to content

Commit

Permalink
Add 'remove needs info' condition to issue updater (#68)
Browse files Browse the repository at this point in the history
The needs info and needs repdoduction labels should be cleared when an
issue is updated.
  • Loading branch information
pjcollins authored Dec 19, 2024
1 parent 70ad203 commit c13f950
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,40 @@ configuration:
- addReply:
reply: Hi @${issueAuthor}. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
description: Add comment when 'needs reproduction' is applied to issue
- if:
- payloadType: Issue_Comment
- isAction:
action: Created
- isOpen
- hasLabel:
label: needs info
- not:
activitySenderHasPermission:
permission: Admin
- not:
activitySenderHasPermission:
permission: Write
then:
- removeLabel:
label: needs info
description: Remove needs info label
- if:
- payloadType: Issue_Comment
- isAction:
action: Created
- isOpen
- hasLabel:
label: needs reproduction
- not:
activitySenderHasPermission:
permission: Admin
- not:
activitySenderHasPermission:
permission: Write
then:
- removeLabel:
label: needs reproduction
description: Remove needs reproduction label
- if:
- payloadType: Issues
- hasLabel:
Expand Down

0 comments on commit c13f950

Please sign in to comment.