diff --git a/.github/workflows/CheckCodeOwnerMaintainers.yml b/.github/workflows/CheckCodeOwnerMaintainers.yml index 1189642c3c..216415c996 100644 --- a/.github/workflows/CheckCodeOwnerMaintainers.yml +++ b/.github/workflows/CheckCodeOwnerMaintainers.yml @@ -72,7 +72,9 @@ jobs: with: checks: "files,owners,duppatterns,syntax" experimental_checks: "notowned,avoid-shadowing" - github_access_token: "${{ secrets.CODEOWNERS_VALIDATOR_TOKEN }}" + github_app_id: ${{ secrets.APPLICATION_ID }} + github_app_installation_id: ${{ secrets.APPLICATION_INSTALLATION_ID }} + github_app_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }} reviewers_validator_user: if: github.event.pull_request.draft == false && github.event.pull_request.base.user.type == 'User' @@ -118,4 +120,6 @@ jobs: with: checks: "files,owners,duppatterns,syntax" experimental_checks: "avoid-shadowing" - github_access_token: "${{ secrets.CODEOWNERS_VALIDATOR_TOKEN }}" + github_app_id: ${{ secrets.APPLICATION_ID }} + github_app_installation_id: ${{ secrets.APPLICATION_INSTALLATION_ID }} + github_app_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}