We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e71e0e commit 6697ef4Copy full SHA for 6697ef4
.github/workflows/pr-approval-check.yml
@@ -10,10 +10,17 @@ jobs:
10
approval:
11
runs-on: ubuntu-latest
12
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
+
20
- name: Require Product Eng approval
21
uses: trufflesecurity/pr-approval-check@main # <— just the repo + tag
22
with:
23
org: trufflesecurity
24
approver_team: product-eng
- github_token: ${{ secrets.PR_APPROVAL_CHECK }}
25
+ github_token: ${{ steps.app-token.outputs.token }}
26
0 commit comments