Skip to content

Commit

Permalink
Workaround for codecov-action bug with oidc (#4441)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Dec 5, 2024
1 parent 74afc71 commit e8a757c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ jobs:

- name: Download artifacts
uses: actions/download-artifact@v4
continue-on-error: true # to allow rerunning this job
with:
name: logs.zip
path: .
Expand All @@ -262,11 +263,7 @@ jobs:
name: ${{ matrix.name }}
# verbose: true # optional (default = false)
fail_ci_if_error: true
use_oidc: true # cspell:ignore oidc

- name: Check codecov.io status
if: github.event_name == 'pull_request'
uses: coactions/codecov-status@main
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} # cspell:ignore oidc

- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand All @@ -278,3 +275,4 @@ jobs:
with:
include-hidden-files: true
delete-merged: true
pattern: logs-*.zip

0 comments on commit e8a757c

Please sign in to comment.