You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/policies/disallow-edits.yml
+60-4Lines changed: 60 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,18 @@ configuration:
19
19
@${issueAuthor} - You tried to add an index file to this repository; this is not permitted so your pull request will be closed automatically.
20
20
- closePullRequest
21
21
22
-
- description: Close PRs to the "ai-services/personalizer" folder where the author isn't a member of the MicrosoftDocs org (i.e. PRs in public repo).
22
+
- description: Close PRs to the "ai-services/personalizer" and "ai-services/responsible-ai" folders where the author isn't a member of the MicrosoftDocs org (i.e. PRs in public repo).
23
23
if:
24
24
- payloadType: Pull_Request
25
25
- isAction:
26
26
action: Opened
27
-
- filesMatchPattern:
28
-
matchAny: true
29
-
pattern: articles/ai-services/personalizer/*
27
+
- or:
28
+
- filesMatchPattern:
29
+
matchAny: true
30
+
pattern: articles/ai-services/personalizer/*
31
+
- filesMatchPattern:
32
+
matchAny: true
33
+
pattern: articles/ai-services/responsible-ai/*
30
34
- not:
31
35
activitySenderHasAssociation:
32
36
association: Member
@@ -65,3 +69,55 @@ configuration:
65
69
- mrbullwinkle
66
70
replyTemplate: ${mentionees} - Please review this PR and sign off when you're ready to merge it.
67
71
assignMentionees: True # This part probably won't work since the bot doesn't have write perms.
72
+
- addLabel:
73
+
label: needs-human-review
74
+
75
+
- description: \@mention specific people when a PR is opened in the "ai-services/responsible-ai" folder.
76
+
if:
77
+
- payloadType: Pull_Request
78
+
- isAction:
79
+
action: Opened
80
+
- filesMatchPattern:
81
+
matchAny: true
82
+
pattern: articles/ai-services/responsible-ai/*
83
+
- activitySenderHasAssociation:
84
+
association: Member
85
+
- not:
86
+
or:
87
+
- isActivitySender:
88
+
user: eric-urban
89
+
- isActivitySender:
90
+
user: nitinme
91
+
- isActivitySender:
92
+
user: mrbullwinkle
93
+
- isActivitySender:
94
+
user: aahill
95
+
- isActivitySender:
96
+
user: laujan
97
+
- isActivitySender:
98
+
user: patrickfarley
99
+
- isActivitySender:
100
+
user: jboback
101
+
- isActivitySender:
102
+
user: heidisteen
103
+
- isActivitySender:
104
+
user: haileytap
105
+
then:
106
+
- addReply:
107
+
reply: >-
108
+
@${issueAuthor} - Please don't sign off on this PR. The area owners will sign off once they've reviewed your contribution.
109
+
- mentionUsers:
110
+
mentionees:
111
+
- eric-urban
112
+
- nitinme
113
+
- mrbullwinkle
114
+
- aahill
115
+
- laujan
116
+
- patrickfarley
117
+
- jboback
118
+
- heidisteen
119
+
- haileytap
120
+
replyTemplate: ${mentionees} - Please review this PR and sign off when you're ready to merge it.
121
+
assignMentionees: True # This part probably won't work since the bot doesn't have write perms.
0 commit comments