Skip to content

Commit d3197b3

Browse files
authored
Update disallow-edits.yml for breadcrumb file
1 parent 30dd80b commit d3197b3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/policies/disallow-edits.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,19 @@ configuration:
177177
label: do-not-merge
178178
- removeLabel:
179179
label: ready-to-merge
180-
180+
181+
- description: Write a message if the breadcrumb file is modified in the azure-docs-pr repository.
182+
if:
183+
- payloadType: Pull_Request
184+
- isAction:
185+
action: Opened
186+
- or:
187+
- filesMatchPattern:
188+
matchAny: true
189+
pattern: bread/toc.yml
190+
191+
then:
192+
- addReply:
193+
reply: >-
194+
@${issueAuthor} - This PR modifies the breadcrumb file for the entire repository in this pull request; the breadcrumb supports 100s of services. Please make sure your changes to the breadcrumb file are intentional. Do not delete this file.
195+

0 commit comments

Comments
 (0)