Skip to content

Commit 6697ef4

Browse files
committed
pass pk
1 parent 4e71e0e commit 6697ef4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pr-approval-check.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ jobs:
1010
approval:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Mint installation token
14+
id: app-token
15+
uses: actions/create-github-app-token@<pin-a-commit-sha>
16+
with:
17+
app-id: ${{ secrets.PR_APPROVAL_CHECK_APP_ID }}
18+
private-key: ${{ secrets.PR_APPROVAL_CHECK }}
19+
1320
- name: Require Product Eng approval
1421
uses: trufflesecurity/pr-approval-check@main # <— just the repo + tag
1522
with:
1623
org: trufflesecurity
1724
approver_team: product-eng
18-
github_token: ${{ secrets.PR_APPROVAL_CHECK }}
25+
github_token: ${{ steps.app-token.outputs.token }}
1926

0 commit comments

Comments
 (0)