Skip to content

Commit 00c7473

Browse files
authored
Replace explicit codecov token with tokenless-OIDC authentication (#773)
See hazelcast/hazelcast-csharp-client#1031
1 parent 69e21d2 commit 00c7473

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/coverage_runner.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request_target' }}
161161
uses: codecov/codecov-action@v5
162162
with:
163-
token: ${{ secrets.CODECOV_TOKEN }}
163+
use_oidc: true
164164
files: ./coverage.xml
165165
override_pr: ${{ github.event.pull_request.number }}
166166
fail_ci_if_error: true
@@ -169,15 +169,15 @@ jobs:
169169
if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'push' }}
170170
uses: codecov/codecov-action@v5
171171
with:
172-
token: ${{ secrets.CODECOV_TOKEN }}
172+
use_oidc: true
173173
files: ./coverage.xml
174174
fail_ci_if_error: true
175175

176176
- name: Publish result to Codecov for PR coming from community
177177
if: ${{ matrix.python-version == needs.python-versions.outputs.latest-python-version && matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' }}
178178
uses: codecov/codecov-action@v5
179179
with:
180-
token: ${{ secrets.CODECOV_TOKEN }}
180+
use_oidc: true
181181
files: ./coverage.xml
182182
override_pr: ${{ github.event.inputs.pr_number }}
183183
fail_ci_if_error: true

0 commit comments

Comments
 (0)