Skip to content

Commit 7c444f3

Browse files
authored
Merge pull request #3543 from gewarren/patch-2
Disable pencil icon on personalizer/responsible-ai folder
2 parents ac64c50 + 6fcaea3 commit 7c444f3

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/policies/disallow-edits.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +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" and "ai-services/responsible-ai" folders 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
2727
- or:
2828
- filesMatchPattern:
2929
matchAny: true
30-
pattern: articles/ai-services/personalizer/*
30+
pattern: articles/ai-foundry/responsible-ai/*
3131
- filesMatchPattern:
3232
matchAny: true
33-
pattern: articles/ai-services/responsible-ai/*
33+
pattern: articles/ai-services/personalizer/*
3434
- not:
3535
activitySenderHasAssociation:
3636
association: Member
@@ -40,14 +40,18 @@ configuration:
4040
@${issueAuthor} - Pull requests that modify files in this folder aren't accepted from public contributors.
4141
- closePullRequest
4242

43-
- 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.
4444
if:
4545
- payloadType: Pull_Request
4646
- isAction:
4747
action: Opened
48-
- filesMatchPattern:
49-
matchAny: true
50-
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/*
5155
- activitySenderHasAssociation:
5256
association: Member
5357
- not:

docfx.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,12 @@
480480
"articles/machine-learning/**/*.md": "azureml-api-2",
481481
"articles/machine-learning/v1/**/*.md": "azureml-api-1"
482482
},
483+
"open_to_public_contributors": {
484+
"articles/ai-services/personalizer/**.*": false,
485+
"articles/ai-foundry/responsible-ai/**.*": false
486+
},
483487
"recommendations": {
484-
"articles/ai-services/Translator/**/*.md": false
488+
"articles/ai-services/translator/**/*.md": false
485489
},
486490
"titleSuffix": {
487491
"articles/ai-studio/**/*.md": "Azure AI Foundry",

0 commit comments

Comments
 (0)