Skip to content

Commit 5430a95

Browse files
authored
fix(ci): mark the workflow as successful on coverage report error (#874)
relates to #802
1 parent f91849d commit 5430a95

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ jobs:
5858
name: "Code coverage report"
5959
if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch
6060
runs-on: ubuntu-latest
61-
continue-on-error: true # Add this line to prevent pipeline failures in forks
6261
needs: main
6362
permissions:
6463
contents: read
6564
actions: read # to download code coverage results from "main" job
6665
pull-requests: write # write permission needed to comment on PR
6766
steps:
68-
- uses: fgrosse/[email protected]
67+
- name: Check new code coverage
68+
uses: fgrosse/[email protected]
69+
continue-on-error: true # Add this line to prevent pipeline failures in forks
6970
with:
7071
coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
71-
coverage-file-name: ${{ env.CODE_COVERAGE_FILE_NAME }}
72+
coverage-file-name: ${{ env.CODE_COVERAGE_FILE_NAME }}

0 commit comments

Comments
 (0)