File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GitOps.PullRequestIssueManagement
2
+ description : GitOps.PullRequestIssueManagement primitive
3
+ resource : repository
4
+
5
+ configuration :
6
+ resourceManagementConfiguration :
7
+ eventResponderTasks :
8
+ - description : Close PRs that modify files whose "source of truth" is not in this repo.
9
+ if :
10
+ - payloadType : Pull_Request
11
+ - isAction :
12
+ action : Opened
13
+ - or :
14
+ - filesMatchPattern :
15
+ pattern : xml/Microsoft.Extensions*/*.xml
16
+ excludedFiles : # These files use this repo as source-of-truth.
17
+ - xml/Microsoft.Extensions.FileSystemGlobbing/*.xml
18
+ - xml/Microsoft.Extensions.FileSystemGlobbing.Abstractions/*.xml
19
+ - xml/Microsoft.Extensions.FileSystemGlobbing.Internal*/*.xml
20
+ - filesMatchPattern :
21
+ pattern : xml/System.Composition/*.xml
22
+ - filesMatchPattern :
23
+ pattern : xml/System.Formats.Cbor/*.xml
24
+ - filesMatchPattern :
25
+ pattern : xml/System.Formats.Nrbf/*.xml
26
+ - filesMatchPattern :
27
+ pattern : xml/System.Net.ServerSentEvents/*.xml
28
+ - filesMatchPattern :
29
+ pattern : xml/System.Numerics.Tensors/*.xml
30
+ - filesMatchPattern :
31
+ pattern : xml/System.Speech/*.xml
32
+ - includesModifiedFile :
33
+ file : xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml
34
+ - includesModifiedFile :
35
+ file : xml/System.Runtime.Serialization/ImportOptions.xml
36
+ - includesModifiedFile :
37
+ file : xml/System.Runtime.Serialization/XsdDataContractExporter.xml
38
+ then :
39
+ - addReply :
40
+ reply : " @${issueAuthor} This PR will be closed because it edits files whose 'source of truth' is not in the repo."
41
+ - closePullRequest
Original file line number Diff line number Diff line change 145
145
},
146
146
"langs" : {
147
147
"api/**.yml" : [" csharp" , " vb" , " fsharp" , " cpp" ]
148
+ },
149
+ "open_to_public_contributors" : {
150
+ "xml/Microsoft.Extensions*/*.xml" : false ,
151
+ "xml/System.Composition/*.xml" : false ,
152
+ "xml/System.Formats.Cbor/*.xml" : false ,
153
+ "xml/System.Formats.Nrbf/*.xml" : false ,
154
+ "xml/System.Net.ServerSentEvents/*.xml" : false ,
155
+ "xml/System.Numerics.Tensors/*.xml" : false ,
156
+ "xml/System.Runtime.Serialization/ISerializationCodeDomSurrogateProvider.xml" : false ,
157
+ "xml/System.Runtime.Serialization/ImportOptions.xml" : false ,
158
+ "xml/System.Runtime.Serialization/XsdDataContractExporter.xml" : false ,
159
+ "xml/System.Speech*/*.xml" : false
148
160
}
149
161
},
150
162
"dest" : " _site" ,
You can’t perform that action at this time.
0 commit comments