Skip to content

Commit 6daa5c0

Browse files
committed
Fix 403 error in e2e test result publishing
Add explicit checks: write permission to e2e-test job to allow the publish-unit-test-result-action to create check runs.
1 parent 461ac95 commit 6daa5c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ jobs:
142142
e2e-test:
143143
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == 'github'
144144
needs: [build-for-e2e-test]
145+
permissions:
146+
checks: write
147+
contents: read
145148
strategy:
146149
fail-fast: false
147150
matrix:

0 commit comments

Comments
 (0)