File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -153,18 +153,19 @@ configuration:
153
153
154
154
- description : Disallow sign-off for articles in the /articles/reliability folder.
155
155
if :
156
- # If a 'sign-off' comment is added to a PR in the articles/reliability folder , and the PR author isn't Anastasia or John...
157
- - payloadType : Issue_Comment
158
- - filesMatchPattern :
159
- matchAny : true
160
- pattern : articles/reliability/*
156
+ # If a 'sign-off' comment is added to a PR that's assigned to anaharris-ms, and the PR author isn't Anastasia or John...
161
157
- or :
162
- - commentContains :
163
- pattern : ^(#sign-off)$
164
- isRegex : True
165
- - commentContains :
166
- pattern : ^(\#sign-off)$
167
- isRegex : True
158
+ - payloadType : Issue_Comment
159
+ - payloadType : Pull_Request_Review_Comment
160
+ - isAction :
161
+ action : Created
162
+ - isActivitySender :
163
+ issueAuthor : True
164
+ - isAssignedToUser :
165
+ user : anaharris-ms
166
+ - commentContains :
167
+ pattern : ' #sign-off'
168
+ isRegex : False
168
169
- not :
169
170
or :
170
171
- isActivitySender :
You can’t perform that action at this time.
0 commit comments