Skip to content

Commit 2a7153c

Browse files
authored
rename okr-health to okr-quality (dotnet#41862)
1 parent 49bab1a commit 2a7153c

File tree

3 files changed

+138
-138
lines changed

3 files changed

+138
-138
lines changed

.github/policies/label-issues.yml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -6,69 +6,69 @@ resource: repository
66
disabled: false
77
where:
88
configuration:
9-
resourceManagementConfiguration:
10-
scheduledSearches:
11-
- description: Label doc-bug issues with okr-health (scheduled search)
12-
frequencies:
13-
- hourly:
14-
hour: 3
15-
filters:
16-
- isIssue
17-
- isOpen
18-
- hasLabel:
19-
label: doc-bug
20-
- isNotLabeledWith:
21-
label: okr-health
22-
actions:
23-
- addLabel:
24-
label: okr-health
9+
resourceManagementConfiguration:
10+
scheduledSearches:
11+
- description: Label doc-bug issues with okr-quality (scheduled search)
12+
frequencies:
13+
- hourly:
14+
hour: 3
15+
filters:
16+
- isIssue
17+
- isOpen
18+
- hasLabel:
19+
label: doc-bug
20+
- isNotLabeledWith:
21+
label: okr-quality
22+
actions:
23+
- addLabel:
24+
label: okr-quality
2525

26-
eventResponderTasks:
27-
- description: Add in-pr label to issues
28-
if:
29-
- payloadType: Pull_Request
30-
then:
31-
- inPrLabel:
32-
label: in-pr
26+
eventResponderTasks:
27+
- description: Add in-pr label to issues
28+
if:
29+
- payloadType: Pull_Request
30+
then:
31+
- inPrLabel:
32+
label: in-pr
3333

34-
- description: Synchronize OKR and release labels from PRs to closing issues
35-
if:
36-
- payloadType: Pull_Request
37-
then:
38-
- labelSync:
39-
pattern: okr-
40-
- labelSync:
41-
pattern: ':checkered_flag: Release'
34+
- description: Synchronize OKR and release labels from PRs to closing issues
35+
if:
36+
- payloadType: Pull_Request
37+
then:
38+
- labelSync:
39+
pattern: okr-
40+
- labelSync:
41+
pattern: ":checkered_flag: Release"
4242

43-
- description: Label issues with okr-freshness (event-based)
44-
if:
45-
- payloadType: Issues
46-
- or:
47-
- titleContains:
48-
pattern: freshness
49-
isRegex: False
50-
- titleContains:
51-
pattern: out( |-)of( |-)date
52-
isRegex: True
53-
- titleContains:
54-
pattern: stale
55-
isRegex: False
56-
then:
57-
- addLabel:
58-
label: okr-freshness
43+
- description: Label issues with okr-freshness (event-based)
44+
if:
45+
- payloadType: Issues
46+
- or:
47+
- titleContains:
48+
pattern: freshness
49+
isRegex: False
50+
- titleContains:
51+
pattern: out( |-)of( |-)date
52+
isRegex: True
53+
- titleContains:
54+
pattern: stale
55+
isRegex: False
56+
then:
57+
- addLabel:
58+
label: okr-freshness
5959

60-
- description: Label typo issues
61-
if:
62-
- payloadType: Issues
63-
- isAction:
64-
action: Opened
65-
- titleContains:
66-
pattern: (T|t)ypo
67-
isRegex: True
68-
then:
69-
- addLabel:
70-
label: doc-bug
71-
- addLabel:
72-
label: help wanted
73-
- addLabel:
74-
label: good first issue
60+
- description: Label typo issues
61+
if:
62+
- payloadType: Issues
63+
- isAction:
64+
action: Opened
65+
- titleContains:
66+
pattern: (T|t)ypo
67+
isRegex: True
68+
then:
69+
- addLabel:
70+
label: doc-bug
71+
- addLabel:
72+
label: help wanted
73+
- addLabel:
74+
label: good first issue

.github/policies/label-prs.yml

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -8,82 +8,82 @@ where:
88
configuration:
99
resourceManagementConfiguration:
1010
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
3838

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"
5353

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"
6262

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
7676

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

quest-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"ParentNodeId": 233465
2121
},
2222
{
23-
"Label": "okr-health",
23+
"Label": "okr-quality",
2424
"ParentNodeId": 237266
2525
},
2626
{

0 commit comments

Comments
 (0)