Skip to content

Commit fbf269e

Browse files
authored
Merge pull request #258 from per1234/codecov-upload-fail-conditional
Don't require Codecov upload success for test run in fork
2 parents 3480bab + 7224ea2 commit fbf269e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .github/workflows/test-go-task.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
push:
1111
paths:
1212
- ".github/workflows/test-go-task.ya?ml"
13+
- "codecov.ya?ml"
1314
- "go.mod"
1415
- "go.sum"
1516
- "Taskfile.ya?ml"
@@ -18,6 +19,7 @@ on:
1819
pull_request:
1920
paths:
2021
- ".github/workflows/test-go-task.ya?ml"
22+
- "codecov.ya?ml"
2123
- "go.mod"
2224
- "go.sum"
2325
- "Taskfile.ya?ml"
@@ -61,4 +63,4 @@ jobs:
6163
with:
6264
file: ./coverage_unit.txt
6365
flags: unit
64-
fail_ci_if_error: true
66+
fail_ci_if_error: ${{ github.repository == 'arduino/arduino-lint' }}

0 commit comments

Comments
 (0)