-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Expand file tree
/
Copy pathlabelAdded.validationInstallationError.yml
More file actions
44 lines (38 loc) · 1.66 KB
/
labelAdded.validationInstallationError.yml
File metadata and controls
44 lines (38 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
id: labelAdded.validationInstallationError
name: GitOps.PullRequestIssueManagement
description: Handlers when "Validation-Installation-Error" label is added
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
eventResponderTasks:
- description: >-
When the label "Validation-Installation-Error" is added to a pull request
* Add a reply notifying the issue author
* Assign to the author
# * Label with Needs-Author-Feedback
* Remove Azure-Pipeline-Passed label
# * Remove Needs-Attention label
if:
- payloadType: Pull_Request
- labelAdded:
label: Validation-Installation-Error
then:
- addReply:
reply: >-
Hello ${issueAuthor},
The package manager bot determined there was an issue with installing the application correctly. Please check the application installs correctly. Once repaired, please push an update to your pull request.
If you are certain it installs correctly, it may be caused by validation pipeline congestion. If so, doing a null-edit to the pull request, or to close and re-open the existing pull request, will usually re-run the pipeline.
Template: msftbot/validationError/installation/general
- assignTo:
author: True
- addLabel:
label: Needs-Attention
- removeLabel:
label: Azure-Pipeline-Passed
# The policy service should trigger even when the label was added by the policy service
triggerOnOwnActions: true
onFailure:
onSuccess: