Skip to content

Commit

Permalink
Use app auth instead of token auth
Browse files Browse the repository at this point in the history
Signed-off-by: Michael D Kinney <[email protected]>
  • Loading branch information
mdkinney committed Nov 7, 2023
1 parent 8b377f8 commit 36080a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CheckCodeOwnerMaintainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 }}

0 comments on commit 36080a3

Please sign in to comment.