Skip to content

Commit 15b3fb7

Browse files
committed
.github/workflows: Use tianocore-assign-reviewers [bot] app
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]>
1 parent fa15fd8 commit 15b3fb7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/AssignReviewers.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
steps:
2121
- name: Checkout Pull Request Target
2222
uses: actions/checkout@v2
23+
- name: Get Token
24+
id: get_workflow_token
25+
uses: peter-murray/workflow-application-token-action@v1
26+
with:
27+
application_id: ${{ secrets.APPLICATION_ID }}
28+
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
29+
organization: tianocore
2330
- uses: mdkinney/github-action-assign-reviewers@main
2431
with:
25-
token: ${{secrets.CODEOWNERS_VALIDATOR_TOKEN}}
32+
token: ${{ steps.get_workflow_token.outputs.token }}

0 commit comments

Comments
 (0)