Skip to content

Commit 4a7b2bc

Browse files
Merge pull request #10543 from dotnet/main
Merge main into live
2 parents 06b0905 + 06e50eb commit 4a7b2bc

File tree

719 files changed

+51724
-51145
lines changed

Some content is hidden

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

719 files changed

+51724
-51145
lines changed

.github/policies/disallow-edits.yml

Lines changed: 148 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,50 +10,158 @@ configuration:
1010
- payloadType: Pull_Request
1111
- isAction:
1212
action: Opened
13-
- or:
14-
- filesMatchPattern:
15-
pattern: xml/NewFolder/*
16-
- includesModifiedFiles:
17-
files:
18-
- xml/Microsoft.Extensions*/*
19-
excludedFiles:
20-
# These files use this repo as source-of-truth.
21-
- xml/Microsoft.Extensions.FileSystemGlobbing/*
22-
- xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*
23-
- xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*
24-
- includesModifiedFiles:
25-
files:
26-
- xml/System.Composition/*
27-
- includesModifiedFiles:
28-
files:
29-
- xml/System.Formats.Cbor/*
30-
- includesModifiedFiles:
31-
files:
32-
- xml/System.Formats.Nrbf/*
33-
- includesModifiedFiles:
34-
files:
35-
- xml/System.Net.ServerSentEvents/*
36-
- includesModifiedFiles:
37-
files:
38-
- xml/System.Numerics.Tensors/*
39-
- includesModifiedFiles:
40-
files:
41-
- xml/System.Speech/*
13+
then:
14+
- if:
15+
- includesModifiedFile:
16+
file: xml/Microsoft.Extensions*/*
17+
# TODO - These files do use this repo as source-of-truth - how to exclude them?
18+
# - xml/Microsoft.Extensions.FileSystemGlobbing/*
19+
# - xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*
20+
# - xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*
21+
then:
22+
- addReply:
23+
reply: >-
24+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'Microsoft.Extensions' in the /// comments in the dotnet/runtime or dotnet/extensions repo instead.
25+
- if:
26+
- or:
27+
- activitySenderHasPermission:
28+
permission: None
29+
- activitySenderHasPermission:
30+
permission: Read
31+
then:
32+
- closePullRequest
33+
- if:
34+
- includesModifiedFile:
35+
file: xml/System.Composition/*
36+
then:
37+
- addReply:
38+
reply: >-
39+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Composition' in the /// comments in the dotnet/runtime repo instead.
40+
- if:
41+
- or:
42+
- activitySenderHasPermission:
43+
permission: None
44+
- activitySenderHasPermission:
45+
permission: Read
46+
then:
47+
- closePullRequest
48+
- if:
49+
- includesModifiedFile:
50+
file: xml/System.Formats.Cbor/*
51+
then:
52+
- addReply:
53+
reply: >-
54+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Formats.Cbor' in the /// comments in the dotnet/runtime repo instead.
55+
- if:
56+
- or:
57+
- activitySenderHasPermission:
58+
permission: None
59+
- activitySenderHasPermission:
60+
permission: Read
61+
then:
62+
- closePullRequest
63+
- if:
64+
- includesModifiedFile:
65+
file: xml/System.Formats.Nrbf/*
66+
then:
67+
- addReply:
68+
reply: >-
69+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Formats.Nrbf' in the /// comments in the dotnet/runtime repo instead.
70+
- if:
71+
- or:
72+
- activitySenderHasPermission:
73+
permission: None
74+
- activitySenderHasPermission:
75+
permission: Read
76+
then:
77+
- closePullRequest
78+
- if:
79+
- includesModifiedFile:
80+
file: xml/System.Net.ServerSentEvents/*
81+
then:
82+
- addReply:
83+
reply: >-
84+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Net.ServerSentEvents' in the /// comments in the dotnet/runtime repo instead.
85+
- if:
86+
- or:
87+
- activitySenderHasPermission:
88+
permission: None
89+
- activitySenderHasPermission:
90+
permission: Read
91+
then:
92+
- closePullRequest
93+
- if:
94+
- includesModifiedFile:
95+
file: xml/System.Numerics.Tensors/*
96+
then:
97+
- addReply:
98+
reply: >-
99+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Numerics.Tensors' in the /// comments in the dotnet/runtime repo instead.
100+
- if:
101+
- or:
102+
- activitySenderHasPermission:
103+
permission: None
104+
- activitySenderHasPermission:
105+
permission: Read
106+
then:
107+
- closePullRequest
108+
- if:
109+
- includesModifiedFile:
110+
file: xml/System.Speech/*
111+
then:
112+
- addReply:
113+
reply: >-
114+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'System.Speech' in the /// comments in the dotnet/runtime repo instead.
115+
- if:
116+
- or:
117+
- activitySenderHasPermission:
118+
permission: None
119+
- activitySenderHasPermission:
120+
permission: Read
121+
then:
122+
- closePullRequest
123+
- if:
42124
- includesModifiedFile:
43125
file: xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
126+
then:
127+
- addReply:
128+
reply: >-
129+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'ISerializationCodeDomSurrogateProvider' in the /// comments in the dotnet/runtime repo instead.
130+
- if:
131+
- or:
132+
- activitySenderHasPermission:
133+
permission: None
134+
- activitySenderHasPermission:
135+
permission: Read
136+
then:
137+
- closePullRequest
138+
- if:
44139
- includesModifiedFile:
45140
file: xml/System.Runtime.Serialization/ImportOptions.xml
141+
then:
142+
- addReply:
143+
reply: >-
144+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'ImportOptions' in the /// comments in the dotnet/runtime repo instead.
145+
- if:
146+
- or:
147+
- activitySenderHasPermission:
148+
permission: None
149+
- activitySenderHasPermission:
150+
permission: Read
151+
then:
152+
- closePullRequest
153+
- if:
46154
- includesModifiedFile:
47155
file: xml/System.Runtime.Serialization/XsdDataContractExporter.xml
48-
then:
49-
- addReply:
50-
reply: >-
51-
@${issueAuthor} - This PR edits files whose 'source of truth' for documentation is not in this repo. If you're editing the documentation, please make these updates in the /// comments in the source repo (either dotnet/runtime or dotnet/extensions) instead.
52-
- if:
53-
- or:
54-
- activitySenderHasPermission:
55-
permission: None
56-
- activitySenderHasPermission:
57-
permission: Read
58156
then:
59-
- closePullRequest
157+
- addReply:
158+
reply: >-
159+
@${issueAuthor} - This PR edits one or more files whose 'source of truth' for documentation is not in this repo. Please make documentation updates for 'XsdDataContractExporter' in the /// comments in the dotnet/runtime repo instead.
160+
- if:
161+
- or:
162+
- activitySenderHasPermission:
163+
permission: None
164+
- activitySenderHasPermission:
165+
permission: Read
166+
then:
167+
- closePullRequest

0 commit comments

Comments
 (0)