Skip to content

Commit 422c24d

Browse files
committed
add policy for reliability docs
1 parent d3a3979 commit 422c24d

File tree

1 file changed

+49
-2
lines changed

1 file changed

+49
-2
lines changed

.github/policies/disallow-edits.yml

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ configuration:
1010
- payloadType: Pull_Request
1111
- isAction:
1212
action: Opened
13-
- or:
13+
- or:
1414
- filesMatchPattern:
1515
matchAny: true
1616
pattern: articles/aks/*
@@ -121,4 +121,51 @@ configuration:
121121
reply: >-
122122
@${issueAuthor} - You tried to add content to a folder path that has been removed from this repository. Your pull request will be automatically closed. Submit your changes to the updated repository, which can be identified by clicking the Edit this Document link at the top of any published article for that product or service.
123123
- closePullRequest
124-
124+
125+
- description: Alert authors to edits in the /articles/reliability folder.
126+
if:
127+
- payloadType: Pull_Request
128+
- or:
129+
- isAction:
130+
action: Opened
131+
- labelAdded:
132+
label: ready-to-merge
133+
- filesMatchPattern:
134+
matchAny: true
135+
pattern: articles/reliability/*
136+
- not:
137+
- isActivitySender:
138+
user: annaharris-ms
139+
then:
140+
- addLabel:
141+
label: needs-human-review
142+
- removeLabel:
143+
label: ready-to-merge
144+
- mentionUsers:
145+
mentionees:
146+
- annaharris-ms
147+
- AbdullahBell
148+
- jfaurskov
149+
- maud-lv
150+
- vladai78
151+
- RoseHJM
152+
- dlepow
153+
- nzthiago
154+
- whhender
155+
- adishachar
156+
- surbhijain
157+
- jovinson-ms
158+
- roygara
159+
- craigshoemaker
160+
- mattgotteiner
161+
- paulinbar
162+
- sethmanheim
163+
- johnmic
164+
- gkasar
165+
- tomvcassidy
166+
replyTemplate: >-
167+
Tagging authors for this folder: ${mentionees}
168+
- addReply:
169+
reply: >-
170+
@${issueAuthor} - Please do NOT sign off on this pull request. The article author will sign off for you.
171+

0 commit comments

Comments
 (0)