Skip to content

Commit a0b0489

Browse files
committed
Update to support auto reviewer assignment
1 parent ca1226d commit a0b0489

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/AutoLabelAssign.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
with:
3131
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
3232
AutoAssignUsers: 1
33+
AutoAssignReviewers: 1
3334
AutoLabel: 1
3435
ExcludedUserList: '["user1", "user2"]'
3536
ExcludedBranchList: '["branch1", "branch2"]'
3637
secrets:
37-
AccessToken: ${{ secrets.GITHUB_TOKEN }}
38+
AccessToken: ${{ secrets.GITHUB_TOKEN }}
39+
PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }}
40+
ClientId: ${{ secrets.M365_APP_CLIENT_ID }}

.github/workflows/BackgroundTasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permissions:
66

77
on:
88
pull_request_target:
9+
types: [opened, synchronize, reopened, ready_for_review]
910

1011
jobs:
1112
upload:

0 commit comments

Comments
 (0)