Skip to content

Commit d8b7ed3

Browse files
authored
ci: Import from actions-sync, check carefully (#418)
1 parent 8778844 commit d8b7ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/covr/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ runs:
2323

2424
- uses: codecov/codecov-action@v5
2525
with:
26-
# Fail if error if not on PR, or if on PR and token is given
27-
fail_ci_if_error: ${{ github.event_name != 'pull_request' || inputs.token }}
26+
# Fail if token is given
27+
fail_ci_if_error: ${{ inputs.token != '' }}
2828
files: ./cobertura.xml
2929
plugins: noop
3030
disable_search: true

0 commit comments

Comments
 (0)