Skip to content

Commit f89546f

Browse files
committed
CI: fix code coverage step
The code coverage currently fails because this repository does not pass any token, so generate an OIDC token and use that.
1 parent 59cbea9 commit f89546f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
jobs:
1414
integration-tests:
1515
runs-on: ubuntu-latest
16-
16+
permissions:
17+
id-token: write
1718
steps:
1819
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1920
with:
@@ -30,4 +31,5 @@ jobs:
3031
- name: Upload coverage to Codecov
3132
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
3233
with:
34+
use_oidc: true
3335
fail_ci_if_error: false

0 commit comments

Comments
 (0)