Skip to content

Commit aff2403

Browse files
authored
Auto-approve and merge localization PRs (#8085)
2 parents b4d48c5 + d07a51d commit aff2403

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@ configuration:
3333
- enableAutoMerge:
3434
mergeMethod: merge
3535

36+
- description: Auto-approve/merge automated localization PRs
37+
triggerOnOwnActions: false
38+
if:
39+
- payloadType: Pull_Request
40+
- isPullRequest
41+
- isActivitySender:
42+
user: dotnet-bot
43+
issueAuthor: False
44+
- titleContains:
45+
pattern: "Localization result based on"
46+
isRegex: False
47+
- isAction:
48+
action: Opened
49+
then:
50+
- approvePullRequest:
51+
comment: Auto-approve
52+
- enableAutoMerge:
53+
mergeMethod: merge
54+
3655
- description: Add "untriaged" label to issues when opened
3756
triggerOnOwnActions: false
3857
if:

0 commit comments

Comments
 (0)