Skip to content

Commit 9ee4226

Browse files
committed
fix(codecov-for-dependabot): use oidc when uploading test results to codecov
1 parent f59e68f commit 9ee4226

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ jobs:
9393
name: Build & Test
9494
runs-on: ubuntu-latest
9595
timeout-minutes: 15
96+
permissions:
97+
id-token: write
98+
contents: read
9699
steps:
97100
- name: Checkout
98101
uses: actions/checkout@v5
@@ -129,7 +132,7 @@ jobs:
129132
if: '!cancelled()'
130133
uses: codecov/test-results-action@v1
131134
with:
132-
token: ${{ secrets.CODECOV_TOKEN }}
135+
use_oidc: true
133136
files: test-report.xml
134137
fail_ci_if_error: true
135138

0 commit comments

Comments
 (0)