diff --git a/.github/workflows/AutoLabelAssign.yml b/.github/workflows/AutoLabelAssign.yml index 65e87b3d4b..bccedc1b18 100644 --- a/.github/workflows/AutoLabelAssign.yml +++ b/.github/workflows/AutoLabelAssign.yml @@ -30,8 +30,11 @@ jobs: with: PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }} AutoAssignUsers: 1 + AutoAssignReviewers: 1 AutoLabel: 1 ExcludedUserList: '["user1", "user2"]' ExcludedBranchList: '["branch1", "branch2"]' secrets: - AccessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + AccessToken: ${{ secrets.GITHUB_TOKEN }} + PrivateKey: ${{ secrets.M365_APP_PRIVATE_KEY }} + ClientId: ${{ secrets.M365_APP_CLIENT_ID }} \ No newline at end of file diff --git a/.github/workflows/BackgroundTasks.yml b/.github/workflows/BackgroundTasks.yml index 8dc3ceae0a..60ac25f2ed 100644 --- a/.github/workflows/BackgroundTasks.yml +++ b/.github/workflows/BackgroundTasks.yml @@ -6,6 +6,7 @@ permissions: on: pull_request_target: + types: [opened, synchronize, reopened, ready_for_review] jobs: upload: