Skip to content

Commit 6f7160d

Browse files
fix: add permissions to skip-tests job
Signed-off-by: Dariusz Porowski <[email protected]>
1 parent a9a3073 commit 6f7160d

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/functional-tests-approval.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,22 @@ jobs:
3636
runs-on: ubuntu-24.04
3737
# environment: functional-tests
3838
timeout-minutes: 5
39+
permissions:
40+
checks: write
41+
pull-requests: write
42+
id-token: write
3943
steps:
40-
- name: Get GitHub app token
41-
uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0
42-
id: get_installation_token
43-
with:
44-
app-id: ${{ env.FUNCTIONAL_TEST_APP_ID }}
45-
private-key: ${{ secrets.FUNCTIONAL_TEST_APP_PRIVATE_KEY }}
46-
permission-checks: write
44+
# - name: Get GitHub app token
45+
# uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0
46+
# id: get_installation_token
47+
# with:
48+
# app-id: ${{ env.FUNCTIONAL_TEST_APP_ID }}
49+
# private-key: ${{ secrets.FUNCTIONAL_TEST_APP_PRIVATE_KEY }}
50+
# permission-checks: write
4751

4852
- uses: LouisBrunner/checks-action@6b626ffbad7cc56fd58627f774b9067e6118af23 # v2.0.0
4953
with:
50-
token: ${{ steps.get_installation_token.outputs.token }}
54+
token: ${{ github.token }}
5155
name: Functional Test Run
5256
status: completed
5357
conclusion: success

0 commit comments

Comments
 (0)