Skip to content

Commit a930eda

Browse files
authored
fix(ci): mark the workflow as successful on coverage report error (#917)
relates to #908
1 parent ab232d6 commit a930eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ jobs:
6666
if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch
6767
runs-on: ubuntu-latest
6868
needs: main
69-
continue-on-error: true # Add this line to prevent pipeline failures in forks
7069
permissions:
7170
contents: read
7271
actions: read # to download code coverage results from "main" job
7372
pull-requests: write # write permission needed to comment on PR
7473
steps:
7574
- name: Check new code coverage
7675
uses: fgrosse/[email protected]
76+
continue-on-error: true # Add this line to prevent pipeline failures in forks
7777
with:
7878
coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
7979
coverage-file-name: ${{ env.CODE_COVERAGE_FILE_NAME }}
80-
root-package: 'github.com/stackitcloud/terraform-provider-stackit'
80+
root-package: 'github.com/stackitcloud/terraform-provider-stackit'

0 commit comments

Comments
 (0)