File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments