AspNetCore.Docs/.github/policies/labelAdded-mapQuest.yml

26 lines
613 B
YAML
Raw Normal View History

2024-12-31 01:04:40 +08:00
id: labelAdded.mapQuest
name: GitOps.MapQuestHandler
description: Handles when "mapQUEST" label is added
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: >-
When the label "mapQUEST" is added to an issue
* Remove label "mapQUEST"
if:
- or:
- payloadType: Issues
- payloadType: Pull_Request
- labelAdded:
2024-12-31 01:25:11 +08:00
label: 'mapQUEST'
2024-12-31 01:04:40 +08:00
then:
2024-12-31 01:25:11 +08:00
- removeLabel: 'mapQUEST'
2024-12-31 01:04:40 +08:00
triggerOnOwnActions: true
onFailure:
onSuccess: