Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ configuration:
- isAction:
action: Closed
then:
- removeLabel:
label: untriaged
- removeLabel:
label: 'work in progress :construction:'
- removeLabel:
Expand Down
36 changes: 36 additions & 0 deletions .github/policies/untriaged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
id: untriaged
name: Automatically apply and remove the untriaged label
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: Add untriaged label to new/reopened issues without a milestone
if:
- payloadType: Issues
- or:
- isAction:
action: Opened
- isAction:
action: Reopened
- isOpen
- not: isPartOfAnyMilestone
- not:
hasLabel:
label: untriaged
then:
- addLabel:
label: untriaged

- description: Remove untriaged label from closed issues
if:
- payloadType: Issues
- hasLabel:
label: untriaged
- or:
- isAction:
action: Closed
then:
- removeLabel:
label: untriaged