Skip to content

Commit 98d3a93

Browse files
authored
Merge pull request #6106 from gewarren/patch-4
Exclude learn-build-service-prod[bot] from auto-close policy
2 parents fdbb05f + 09678bb commit 98d3a93

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/policies/disallow-edits.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ configuration:
2828
matchAny: true
2929
pattern: articles/ai-foundry/responsible-ai/*
3030
- not:
31-
activitySenderHasAssociation:
32-
association: Member
31+
or:
32+
- activitySenderHasAssociation:
33+
association: Member
34+
- isActivitySender:
35+
user: learn-build-service-prod[bot]
3336
then:
3437
- addReply:
3538
reply: >-
3639
@${issueAuthor} - Pull requests that modify files in this folder aren't accepted from public contributors.
3740
- closePullRequest
3841

39-
4042
- description: \@mention specific people when a PR is opened in the "ai-foundry/responsible-ai" folder.
4143
if:
4244
- payloadType: Pull_Request

0 commit comments

Comments
 (0)