Skip to content

Commit 591008b

Browse files
Merge pull request #45149 from dotnet/main
Merge main into live
2 parents e182f42 + 8312681 commit 591008b

File tree

22 files changed

+64
-28
lines changed

22 files changed

+64
-28
lines changed

.github/ISSUE_TEMPLATE/z-customer-feedback.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ body:
5151
required: true
5252
attributes:
5353
label: Document Version Independent Id
54+
- type: input
55+
id: platformId
56+
validations:
57+
required: true
58+
attributes:
59+
label: Platform Id
5460
- type: input
5561
id: author
5662
validations:

.github/policies/disallow-edits.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,32 @@ configuration:
6060
permission: Read
6161
then:
6262
- closePullRequest
63+
64+
- description: (This is only a test policy that will be deleted.) Disallow sign-off for articles in the /docs/csharp folder.
65+
if:
66+
- or:
67+
- payloadType: Issue_Comment
68+
- payloadType: Pull_Request_Review_Comment
69+
- isAction:
70+
action: Created
71+
- isActivitySender:
72+
issueAuthor: True
73+
- filesMatchPattern:
74+
matchAny: true
75+
pattern: docs/csharp/*
76+
- commentContains:
77+
pattern: '#sign-off'
78+
isRegex: False
79+
- not:
80+
or:
81+
- isActivitySender:
82+
user: BillWagner
83+
then:
84+
# Add the do-not-merge label, remove the ready-to-merge label, and add a reply asking the PR author not to sign off on the PR.
85+
- addReply:
86+
reply: >-
87+
@${issueAuthor} - Please do NOT sign off on this pull request!!
88+
- addLabel:
89+
label: do-not-merge
90+
- removeLabel:
91+
label: ready-to-merge

.github/workflows/cleanrepo-orphaned-articles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-orphaned-articles
4141
title: "Monthly chores: Delete orphaned articles"

.github/workflows/cleanrepo-orphaned-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-orphaned-images
4141
title: "Monthly chores: Delete orphaned images"

.github/workflows/cleanrepo-orphaned-includes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-orphaned-includes
4141
title: "Monthly chores: Delete orphaned include files"

.github/workflows/cleanrepo-orphaned-snippets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-orphaned-snippets
4141
title: "Monthly chores: Delete orphaned snippets"

.github/workflows/cleanrepo-redirect-hops.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-remove-hops
4141
title: "Monthly chores: Remove redirect hops"

.github/workflows/cleanrepo-relative-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-relative-links
4141
title: "Monthly chores: Use relative links"

.github/workflows/cleanrepo-replace-redirects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
# Create the PR for the work done by the "clean repo" tool
3737
- name: create-pull-request
38-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
38+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3939
with:
4040
branch: cleanrepo-replace-redirects
4141
title: "Monthly chores: Replace redirect targets"

.github/workflows/dependabot-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
dependabot-yml-path: ".github/dependabot.yml"
5353
- name: Create pull request
5454
if: github.event_name == 'workflow_dispatch' || github.repository_owner == 'dotnet'
55-
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
55+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
5656
with:
5757
branch: create-dependabotconfig-pull-request/patch
5858
title: "Update dependabot.yml - automatically."

0 commit comments

Comments
 (0)