Skip to content

Commit 45e7b62

Browse files
committed
chore: codecov fails ci iff ran on master
1 parent afb05ba commit 45e7b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/lint-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ jobs:
5858
token: ${{ secrets.CODECOV_TOKEN }}
5959
env_vars: NODE_VERSION # optional
6060
name: codecov-umbrella # optional
61-
fail_ci_if_error: true # optional (default = false)
61+
fail_ci_if_error: ${{ github.ref == 'refs/heads/master' }} # fail on master, don't fail on other branches
6262
verbose: true # optional (default = false)

0 commit comments

Comments
 (0)