From a930eda9f511176ff461c4510c07988830ca4d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruben=20H=C3=B6nle?= Date: Mon, 21 Jul 2025 11:50:31 +0200 Subject: [PATCH] fix(ci): mark the workflow as successful on coverage report error (#917) relates to #908 --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2666ff2c..ae3117ea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -66,7 +66,6 @@ jobs: if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch runs-on: ubuntu-latest needs: main - continue-on-error: true # Add this line to prevent pipeline failures in forks permissions: contents: read actions: read # to download code coverage results from "main" job @@ -74,7 +73,8 @@ jobs: steps: - name: Check new code coverage uses: fgrosse/go-coverage-report@v1.2.0 + continue-on-error: true # Add this line to prevent pipeline failures in forks with: coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }} coverage-file-name: ${{ env.CODE_COVERAGE_FILE_NAME }} - root-package: 'github.com/stackitcloud/terraform-provider-stackit' \ No newline at end of file + root-package: 'github.com/stackitcloud/terraform-provider-stackit'