Skip to content

Commit

Permalink
Use OIDC authentication for codecov (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed May 22, 2024
1 parent 7e09c06 commit 6f0e97a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:

build:
name: ${{ matrix.name }}
environment: test
permissions:
id-token: write # codecov
runs-on: ${{ matrix.os || 'ubuntu-22.04' }}
# Failure of 'devel' job should not mark the whole workflow as failed
continue-on-error: ${{ contains(matrix.name, 'devel') && true || false }}
Expand Down Expand Up @@ -115,8 +116,8 @@ jobs:
with:
name: ${{ matrix.passed_name }}
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true # optional (default = false)
use_oidc: true # cspell:ignore oidc

- name: Archive logs
if: always()
Expand Down

0 comments on commit 6f0e97a

Please sign in to comment.