Skip to content

Commit fa020ed

Browse files
authored
Update disallow-edits.yml
1 parent 2674429 commit fa020ed

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/policies/disallow-edits.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,15 @@ configuration:
4848
- filesMatchPattern:
4949
pattern: docs/standard/design-guidelines/*
5050
matchAny: true
51-
- not:
52-
or:
53-
- activitySenderHasPermission:
54-
permission: admin
55-
- activitySenderHasPermission:
56-
permission: write
5751
then:
5852
- addReply:
5953
reply: >-
6054
@${issueAuthor} - This PR edits a file in the design-guidelines folder, which is disallowed. This content is reprinted by permission of Pearson Education, Inc. from Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 2nd Edition, and cannot be edited. CC @dotnet/docs.
61-
- closePullRequest
55+
- if:
56+
- or:
57+
- activitySenderHasPermission:
58+
permission: None
59+
- activitySenderHasPermission:
60+
permission: Read
61+
then:
62+
- closePullRequest

0 commit comments

Comments
 (0)