From 3c47759f9e08550815960180b4f1738fbbc48ce2 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 4 Apr 2026 21:15:35 +0200 Subject: [PATCH] Update CI workflow for Codecov token handling and configuration adjustments --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7149d46d..9d57b393 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [ main ] pull_request: - branches: [main] + branches: [ main ] jobs: lint: @@ -39,7 +39,9 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 - if: success() + if: success() && env.CODECOV_TOKEN != '' + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: token: ${{ secrets.CODECOV_TOKEN }} files: | @@ -49,5 +51,5 @@ jobs: common/coverage/lcov.info web/coverage/lcov.info flags: unit - fail_ci_if_error: true + fail_ci_if_error: false slug: CompassConnections/Compass