Skip to content

Commit 64d9fe4

Browse files
authored
Add responsible-ai folder to policy
1 parent cdb1117 commit 64d9fe4

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/policies/disallow-edits.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ configuration:
1919
@${issueAuthor} - You tried to add an index file to this repository; this is not permitted so your pull request will be closed automatically.
2020
- closePullRequest
2121

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 "personalizer" and "responsible-ai" folders where the author isn't a member of the MicrosoftDocs org (i.e. PRs in public repo).
2323
if:
2424
- payloadType: Pull_Request
2525
- isAction:
2626
action: Opened
27-
- filesMatchPattern:
28-
matchAny: true
29-
pattern: articles/ai-services/personalizer/*
27+
-or
28+
- filesMatchPattern:
29+
matchAny: true
30+
pattern: articles/ai-foundry/responsible-ai/*
31+
- filesMatchPattern:
32+
matchAny: true
33+
pattern: articles/ai-services/personalizer/*
3034
- not:
3135
activitySenderHasAssociation:
3236
association: Member
@@ -36,14 +40,18 @@ configuration:
3640
@${issueAuthor} - Pull requests that modify files in this folder aren't accepted from public contributors.
3741
- closePullRequest
3842

39-
- description: \@mention specific people when a PR is opened in the "ai-services/personalizer" folder.
43+
- description: \@mention specific people when a PR is opened in the "personalizer" or "responsible-ai" folder.
4044
if:
4145
- payloadType: Pull_Request
4246
- isAction:
4347
action: Opened
44-
- filesMatchPattern:
45-
matchAny: true
46-
pattern: articles/ai-services/personalizer/*
48+
-or
49+
- filesMatchPattern:
50+
matchAny: true
51+
pattern: articles/ai-foundry/responsible-ai/*
52+
- filesMatchPattern:
53+
matchAny: true
54+
pattern: articles/ai-services/personalizer/*
4755
- activitySenderHasAssociation:
4856
association: Member
4957
- not:

0 commit comments

Comments
 (0)