Skip to content

Commit

Permalink
.github/workflows: Use tianocore-assign-reviewers [bot] app
Browse files Browse the repository at this point in the history
Update workflow to generate a token so the assign reviewers
action runs with the name and permissions of the
tianocore-assign-reviewers [bot] application.

Signed-off-by: Michael D Kinney <[email protected]>
  • Loading branch information
mdkinney committed Sep 21, 2022
1 parent fa15fd8 commit 15b3fb7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/AssignReviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
steps:
- name: Checkout Pull Request Target
uses: actions/checkout@v2
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
organization: tianocore
- uses: mdkinney/github-action-assign-reviewers@main
with:
token: ${{secrets.CODEOWNERS_VALIDATOR_TOKEN}}
token: ${{ steps.get_workflow_token.outputs.token }}

0 comments on commit 15b3fb7

Please sign in to comment.