Skip to content

Commit 460a934

Browse files
committed
Merge branch 'master' into use-rcd
2 parents 8b95c11 + c641a1e commit 460a934

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/coverage_runner.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
- node-versions
3939
if: github.event_name == 'push' || needs.check_for_membership.outputs.check-result == 'true' || github.event_name == 'workflow_dispatch'
4040
runs-on: ${{ matrix.os }}
41+
permissions:
42+
id-token: write
4143
strategy:
4244
matrix:
4345
os: [ ubuntu-latest, windows-latest ]
@@ -161,7 +163,7 @@ jobs:
161163
if: ${{ matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request_target' }}
162164
uses: codecov/codecov-action@v5
163165
with:
164-
token: ${{ secrets.CODECOV_TOKEN }}
166+
use_oidc: true
165167
files: coverage/lcov.info
166168
override_pr: ${{ github.event.pull_request.number }}
167169
fail_ci_if_error: true
@@ -170,15 +172,15 @@ jobs:
170172
if: ${{ matrix.os == 'ubuntu-latest' && github.event_name == 'push' }}
171173
uses: codecov/codecov-action@v5
172174
with:
173-
token: ${{ secrets.CODECOV_TOKEN }}
175+
use_oidc: true
174176
files: coverage/lcov.info
175177
fail_ci_if_error: true
176178

177179
- name: Publish result to Codecov for PR coming from community
178180
if: ${{ matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' }}
179181
uses: codecov/codecov-action@v5
180182
with:
181-
token: ${{ secrets.CODECOV_TOKEN }}
183+
use_oidc: true
182184
files: coverage/lcov.info
183185
override_pr: ${{ github.event.inputs.pr_number }}
184186
fail_ci_if_error: true

0 commit comments

Comments
 (0)