Skip to content

Commit 632b2f9

Browse files
committed
update edit policies
1 parent 454edbd commit 632b2f9

File tree

1 file changed

+3
-44
lines changed

1 file changed

+3
-44
lines changed

.github/policies/disallow-edits.yml

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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 "personalizer" and "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 "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:
@@ -28,9 +28,6 @@ configuration:
2828
- filesMatchPattern:
2929
matchAny: true
3030
pattern: articles/ai-foundry/responsible-ai/*
31-
- filesMatchPattern:
32-
matchAny: true
33-
pattern: articles/ai-services/personalizer/*
3431
- not:
3532
activitySenderHasAssociation:
3633
association: Member
@@ -40,50 +37,15 @@ configuration:
4037
@${issueAuthor} - Pull requests that modify files in this folder aren't accepted from public contributors.
4138
- closePullRequest
4239

43-
- description: \@mention specific people when a PR is opened in the "personalizer" or "responsible-ai" folder.
44-
if:
45-
- payloadType: Pull_Request
46-
- isAction:
47-
action: Opened
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/*
55-
- activitySenderHasAssociation:
56-
association: Member
57-
- not:
58-
or:
59-
- isActivitySender:
60-
user: eric-urban
61-
- isActivitySender:
62-
user: nitinme
63-
- isActivitySender:
64-
user: mrbullwinkle
65-
then:
66-
- addReply:
67-
reply: >-
68-
@${issueAuthor} - Please don't sign off on this PR. The area owners will sign off once they've reviewed your contribution.
69-
- mentionUsers:
70-
mentionees:
71-
- eric-urban
72-
- nitinme
73-
- mrbullwinkle
74-
replyTemplate: ${mentionees} - Please review this PR and sign off when you're ready to merge it.
75-
assignMentionees: True # This part probably won't work since the bot doesn't have write perms.
76-
- addLabel:
77-
label: needs-human-review
7840

79-
- description: \@mention specific people when a PR is opened in the "ai-services/responsible-ai" folder.
41+
- description: \@mention specific people when a PR is opened in the "ai-foundry/responsible-ai" folder.
8042
if:
8143
- payloadType: Pull_Request
8244
- isAction:
8345
action: Opened
8446
- filesMatchPattern:
8547
matchAny: true
86-
pattern: articles/ai-services/responsible-ai/*
48+
pattern: articles/ai-foundry/responsible-ai/*
8749
- activitySenderHasAssociation:
8850
association: Member
8951
- not:
@@ -100,8 +62,6 @@ configuration:
10062
user: laujan
10163
- isActivitySender:
10264
user: patrickfarley
103-
- isActivitySender:
104-
user: jboback
10565
- isActivitySender:
10666
user: heidisteen
10767
- isActivitySender:
@@ -118,7 +78,6 @@ configuration:
11878
- aahill
11979
- laujan
12080
- patrickfarley
121-
- jboback
12281
- heidisteen
12382
- haileytap
12483
replyTemplate: ${mentionees} - Please review this PR and sign off when you're ready to merge it.

0 commit comments

Comments
 (0)