Skip to content

Commit 5286c4e

Browse files
authored
Merge pull request #41889 from gewarren/publish0724
Merge main into live (manual)
2 parents 4a57228 + 935abf0 commit 5286c4e

File tree

58 files changed

+547
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+547
-363
lines changed

.github/policies/label-issues.yml

Lines changed: 66 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -6,50 +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
25-
eventResponderTasks:
26-
- if:
27-
- payloadType: Pull_Request
28-
then:
29-
- inPrLabel:
30-
label: in-pr
31-
description: Add in-pr label to issues
32-
- if:
33-
- payloadType: Pull_Request
34-
then:
35-
- labelSync:
36-
pattern: okr-
37-
- labelSync:
38-
pattern: ':checkered_flag: Release'
39-
description: Synchronize OKR and release labels from PRs to closing issues
40-
- if:
41-
- payloadType: Issues
42-
- or:
43-
- titleContains:
44-
pattern: freshness
45-
isRegex: False
46-
- titleContains:
47-
pattern: out( |-)of( |-)date
48-
isRegex: True
49-
- titleContains:
50-
pattern: stale
51-
isRegex: False
52-
then:
53-
- addLabel:
54-
label: okr-freshness
55-
description: Label issues with okr-freshness (event-based)
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
25+
26+
eventResponderTasks:
27+
- description: Add in-pr label to issues
28+
if:
29+
- payloadType: Pull_Request
30+
then:
31+
- inPrLabel:
32+
label: in-pr
33+
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"
42+
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
59+
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

.github/workflows/check-for-build-warnings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
20+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/clean-repo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Harden Runner
21-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
21+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
2222
with:
2323
egress-policy: audit
2424

@@ -27,7 +27,7 @@ jobs:
2727
# Call clean repo
2828
- name: Clean repo
2929
id: clean-repo-step
30-
uses: dotnet/docs-tools/cleanrepo/CleanRepo@5e8bcc78465d45a7544bba56509a1a69922b6a5a # main
30+
uses: dotnet/docs-tools/cleanrepo@2a815a6c0976e888a49264f513dc230008b4a1f2
3131
with:
3232
docfx_directory: '.'
3333
articles_directory: 'docs'

.github/workflows/dependabot-approve-and-automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
if: ${{ github.actor == 'dependabot[bot]' && github.repository_owner == 'dotnet' }}
1212
steps:
1313
- name: Harden Runner
14-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
14+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
1515
with:
1616
egress-policy: audit
1717

.github/workflows/dependabot-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Checkout the repo into the workspace within the VM
2727
steps:
2828
- name: Harden Runner
29-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
29+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
3030
with:
3131
egress-policy: audit
3232

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
20+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/do-not-merge-label-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- 'DO NOT MERGE'
2323
steps:
2424
- name: Harden Runner
25-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
25+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
2626
with:
2727
egress-policy: audit
2828

.github/workflows/docs-verifier-tryfix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
steps:
1919
- name: Harden Runner
20-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
20+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
2121
with:
2222
egress-policy: audit
2323

.github/workflows/docs-verifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Harden Runner
13-
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
13+
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
1414
with:
1515
egress-policy: audit
1616

0 commit comments

Comments
 (0)