From baa6f3b51887f6bb641088ab0b16b2eb8602eb6b Mon Sep 17 00:00:00 2001 From: burgholzer Date: Fri, 18 Oct 2024 10:38:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20workaround=20for=20codecov=20reg?= =?UTF-8?q?ression=20when=20using=20OIDC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer --- .github/workflows/reusable-cpp-coverage.yml | 2 +- .github/workflows/reusable-python-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-cpp-coverage.yml b/.github/workflows/reusable-cpp-coverage.yml index 5a3b5e5..45c3664 100644 --- a/.github/workflows/reusable-cpp-coverage.yml +++ b/.github/workflows/reusable-cpp-coverage.yml @@ -56,4 +56,4 @@ jobs: with: fail_ci_if_error: true flags: cpp - use_oidc: true + use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }} diff --git a/.github/workflows/reusable-python-ci.yml b/.github/workflows/reusable-python-ci.yml index 2bfba1b..208b2c5 100644 --- a/.github/workflows/reusable-python-ci.yml +++ b/.github/workflows/reusable-python-ci.yml @@ -73,4 +73,4 @@ jobs: with: fail_ci_if_error: true flags: python - use_oidc: true + use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}