Skip to content

Commit f0150a0

Browse files
authored
[Policy] Auto remove mapquest label (#3061)
1 parent f71a585 commit f0150a0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
id: labelAdded.mapQuest
2+
name: GitOps.MapQuestHandler
3+
description: Handles when "mapQUEST" label is added
4+
owner:
5+
resource: repository
6+
disabled: false
7+
where:
8+
configuration:
9+
resourceManagementConfiguration:
10+
eventResponderTasks:
11+
- description: >-
12+
When the label "mapQUEST" is added to an issue
13+
* Remove label "mapQUEST"
14+
if:
15+
- or:
16+
- payloadType: Issues
17+
- payloadType: Pull_Request
18+
19+
- labelAdded:
20+
label: ':world_map: mapQUEST'
21+
then:
22+
- removeLabel: ':world_map: mapQUEST'
23+
triggerOnOwnActions: true
24+
onFailure:
25+
onSuccess:

0 commit comments

Comments
 (0)