From f2cd1a6ad27138e6e24c1fd6f8f34673963d3a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 14 Nov 2024 22:31:17 +0100 Subject: [PATCH 1/2] codecov: fail_ci_if_error --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a01aa4fa349..7c5ce91c14c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -126,6 +126,7 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: + fail_ci_if_error: true files: ./coverage.txt verbose: true From fdd3a958c63a5d3c5958023b768b55be186ce38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 14 Nov 2024 22:40:23 +0100 Subject: [PATCH 2/2] codecov: opt-out from token --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c5ce91c14c..b6e43ae1ffe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -123,8 +123,6 @@ jobs: pattern: coverage-artifacts-${{ env.DEFAULT_GO_VERSION }} - name: Upload coverage report uses: codecov/codecov-action@v5.0.0 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: fail_ci_if_error: true files: ./coverage.txt