Skip to content

Commit c6eff9c

Browse files
authored
ci: Only fail covr builds if token is given (#51)
1 parent 224cd04 commit c6eff9c

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)