|
8 | 8 | configuration:
|
9 | 9 | resourceManagementConfiguration:
|
10 | 10 | eventResponderTasks:
|
11 |
| - - description: Label community PRs |
12 |
| - if: |
13 |
| - - payloadType: Pull_Request |
14 |
| - - isAction: |
15 |
| - action: Opened |
16 |
| - - and: |
17 |
| - - not: |
18 |
| - activitySenderHasPermission: |
19 |
| - permission: Admin |
20 |
| - - not: |
21 |
| - activitySenderHasPermission: |
22 |
| - permission: Write |
23 |
| - - not: |
24 |
| - isActivitySender: |
25 |
| - user: github-actions[bot] |
26 |
| - - not: |
27 |
| - isActivitySender: |
28 |
| - user: github-actions |
29 |
| - - not: |
30 |
| - isActivitySender: |
31 |
| - user: azure-sdk |
32 |
| - - not: |
33 |
| - isActivitySender: |
34 |
| - user: dependabot |
35 |
| - then: |
36 |
| - - addLabel: |
37 |
| - label: community-contribution |
| 11 | + - description: Label community PRs |
| 12 | + if: |
| 13 | + - payloadType: Pull_Request |
| 14 | + - isAction: |
| 15 | + action: Opened |
| 16 | + - and: |
| 17 | + - not: |
| 18 | + activitySenderHasPermission: |
| 19 | + permission: Admin |
| 20 | + - not: |
| 21 | + activitySenderHasPermission: |
| 22 | + permission: Write |
| 23 | + - not: |
| 24 | + isActivitySender: |
| 25 | + user: github-actions[bot] |
| 26 | + - not: |
| 27 | + isActivitySender: |
| 28 | + user: github-actions |
| 29 | + - not: |
| 30 | + isActivitySender: |
| 31 | + user: azure-sdk |
| 32 | + - not: |
| 33 | + isActivitySender: |
| 34 | + user: dependabot |
| 35 | + then: |
| 36 | + - addLabel: |
| 37 | + label: community-contribution |
38 | 38 |
|
39 |
| - - description: Label publish PRs from the dotnet-policy-service bot |
40 |
| - triggerOnOwnActions: true |
41 |
| - if: |
42 |
| - - payloadType: Pull_Request |
43 |
| - - isAction: |
44 |
| - action: Opened |
45 |
| - - isActivitySender: |
46 |
| - user: dotnet-policy-service[bot] |
47 |
| - - titleContains: |
48 |
| - pattern: Merge main into live |
49 |
| - isRegex: False |
50 |
| - then: |
51 |
| - - addLabel: |
52 |
| - label: ':octocat: auto-merge' |
| 39 | + - description: Label publish PRs from the dotnet-policy-service bot |
| 40 | + triggerOnOwnActions: true |
| 41 | + if: |
| 42 | + - payloadType: Pull_Request |
| 43 | + - isAction: |
| 44 | + action: Opened |
| 45 | + - isActivitySender: |
| 46 | + user: dotnet-policy-service[bot] |
| 47 | + - titleContains: |
| 48 | + pattern: Merge main into live |
| 49 | + isRegex: False |
| 50 | + then: |
| 51 | + - addLabel: |
| 52 | + label: ":octocat: auto-merge" |
53 | 53 |
|
54 |
| - - description: Label PRs from the Azure SDK bot |
55 |
| - if: |
56 |
| - - payloadType: Pull_Request |
57 |
| - - isActivitySender: |
58 |
| - user: azure-sdk |
59 |
| - then: |
60 |
| - - addLabel: |
61 |
| - label: ':octocat: auto-merge' |
| 54 | + - description: Label PRs from the Azure SDK bot |
| 55 | + if: |
| 56 | + - payloadType: Pull_Request |
| 57 | + - isActivitySender: |
| 58 | + user: azure-sdk |
| 59 | + then: |
| 60 | + - addLabel: |
| 61 | + label: ":octocat: auto-merge" |
62 | 62 |
|
63 |
| - - description: Label PRs with okr-health |
64 |
| - if: |
65 |
| - - payloadType: Pull_Request |
66 |
| - - or: |
67 |
| - - titleContains: |
68 |
| - pattern: build warning |
69 |
| - isRegex: False |
70 |
| - - bodyContains: |
71 |
| - pattern: build warning |
72 |
| - isRegex: False |
73 |
| - then: |
74 |
| - - addLabel: |
75 |
| - label: okr-health |
| 63 | + - description: Label PRs with okr-quality |
| 64 | + if: |
| 65 | + - payloadType: Pull_Request |
| 66 | + - or: |
| 67 | + - titleContains: |
| 68 | + pattern: build warning |
| 69 | + isRegex: False |
| 70 | + - bodyContains: |
| 71 | + pattern: build warning |
| 72 | + isRegex: False |
| 73 | + then: |
| 74 | + - addLabel: |
| 75 | + label: okr-quality |
76 | 76 |
|
77 |
| - - description: Label PRs with okr-freshness |
78 |
| - if: |
79 |
| - - payloadType: Pull_Request |
80 |
| - - or: |
81 |
| - - titleContains: |
82 |
| - pattern: freshness |
83 |
| - isRegex: False |
84 |
| - - bodyContains: |
85 |
| - pattern: freshness |
86 |
| - isRegex: False |
87 |
| - then: |
88 |
| - - addLabel: |
89 |
| - label: okr-freshness |
| 77 | + - description: Label PRs with okr-freshness |
| 78 | + if: |
| 79 | + - payloadType: Pull_Request |
| 80 | + - or: |
| 81 | + - titleContains: |
| 82 | + pattern: freshness |
| 83 | + isRegex: False |
| 84 | + - bodyContains: |
| 85 | + pattern: freshness |
| 86 | + isRegex: False |
| 87 | + then: |
| 88 | + - addLabel: |
| 89 | + label: okr-freshness |
0 commit comments