mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
Use OIDC for Codecov upload instead of static token
This commit is contained in:
parent
8358650660
commit
aaa5973b88
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test-litellm-matrix.yml
vendored
4
.github/workflows/test-litellm-matrix.yml
vendored
|
|
@ -189,9 +189,9 @@ jobs:
|
|||
needs: test
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
# Isolated job — CODECOV_TOKEN is never in scope during test execution
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write # Required for OIDC tokenless upload
|
||||
|
||||
steps:
|
||||
- name: Download all coverage reports
|
||||
|
|
@ -203,6 +203,6 @@ jobs:
|
|||
- name: Upload to Codecov
|
||||
uses: codecov/codecov-action@aa56896cf108bd10b5eb883cd1d24196da57f695 # v5.5.4
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
use_oidc: true
|
||||
files: "*.xml"
|
||||
fail_ci_if_error: false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue