Skip to content

Commit 16b8267

Browse files
authored
Merge pull request #241 from per1234/codecov-path-filter
Add support to "Test Go" workflow for alternative Codecov configuration paths
2 parents f262473 + 72a34a6 commit 16b8267

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

workflow-templates/dependabot/workflow-template-copies/.github/workflows/test-go-task.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ on:
1111
push:
1212
paths:
1313
- ".github/workflows/test-go-task.ya?ml"
14-
- "codecov.ya?ml"
14+
- ".github/.?codecov.ya?ml"
15+
- "dev/.?codecov.ya?ml"
16+
- ".?codecov.ya?ml"
1517
- "**/go.mod"
1618
- "**/go.sum"
1719
- "Taskfile.ya?ml"
@@ -20,7 +22,9 @@ on:
2022
pull_request:
2123
paths:
2224
- ".github/workflows/test-go-task.ya?ml"
23-
- "codecov.ya?ml"
25+
- ".github/.?codecov.ya?ml"
26+
- "dev/.?codecov.ya?ml"
27+
- ".?codecov.ya?ml"
2428
- "**/go.mod"
2529
- "**/go.sum"
2630
- "Taskfile.ya?ml"

workflow-templates/test-go-task.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ on:
1111
push:
1212
paths:
1313
- ".github/workflows/test-go-task.ya?ml"
14-
- "codecov.ya?ml"
14+
- ".github/.?codecov.ya?ml"
15+
- "dev/.?codecov.ya?ml"
16+
- ".?codecov.ya?ml"
1517
- "**/go.mod"
1618
- "**/go.sum"
1719
- "Taskfile.ya?ml"
@@ -20,7 +22,9 @@ on:
2022
pull_request:
2123
paths:
2224
- ".github/workflows/test-go-task.ya?ml"
23-
- "codecov.ya?ml"
25+
- ".github/.?codecov.ya?ml"
26+
- "dev/.?codecov.ya?ml"
27+
- ".?codecov.ya?ml"
2428
- "**/go.mod"
2529
- "**/go.sum"
2630
- "Taskfile.ya?ml"

0 commit comments

Comments
 (0)