You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Handlers when "Policy-Test-*" label is added
4
+
owner:
5
+
resource: repository
6
+
disabled: false
7
+
where:
8
+
configuration:
9
+
resourceManagementConfiguration:
10
+
eventResponderTasks:
11
+
- description: >-
12
+
When a label "Policy-Test-*" is added to a pull request
13
+
* Add the PR specific reply notifying the author of repository policies
14
+
if:
15
+
- payloadType: Pull_Request
16
+
- or:
17
+
- labelAdded:
18
+
label: Policy-Test-1.1.A
19
+
- labelAdded:
20
+
label: Policy-Test-1.1.B
21
+
- labelAdded:
22
+
label: Policy-Test-1.2
23
+
- labelAdded:
24
+
label: Policy-Test-1.5
25
+
- labelAdded:
26
+
label: Policy-Test-1.8
27
+
- labelAdded:
28
+
label: Policy-Test-2.2.A
29
+
- labelAdded:
30
+
label: Policy-Test-2.2.B
31
+
- labelAdded:
32
+
label: Policy-Test-2.3
33
+
- labelAdded:
34
+
label: Policy-Test-2.4
35
+
- labelAdded:
36
+
label: Policy-Test-2.5
37
+
- labelAdded:
38
+
label: Policy-Test-2.6
39
+
- labelAdded:
40
+
label: Policy-Test-2.7
41
+
- labelAdded:
42
+
label: Policy-Test-2.8
43
+
- labelAdded:
44
+
label: Policy-Test-2.9
45
+
- labelAdded:
46
+
label: Policy-Test-2.10
47
+
then:
48
+
- addReply:
49
+
reply: >-
50
+
Hello ${issueAuthor},
51
+
52
+
53
+
The validation process has concluded that this pull request needs to go through a manual review by a [repository admin](https://github.com/microsoft/winget-pkgs/blob/master/doc/Moderation.md#moderators) to ensure compliance with repository policies.
54
+
55
+
56
+
For more information, please refer to the [Windows Package Manager repository policies](https://learn.microsoft.com/windows/package-manager/package/windows-package-manager-policies).
57
+
58
+
59
+
Template: msftbot/policyTest
60
+
# The policy service should trigger even when the label was added by the policy service
0 commit comments