Skip to content

Commit 21c8fe8

Browse files
committed
Use standard paths filter syntax for global recursive extension match
Although the other works as well, this is the style specified in the official GitHub Actions reference and used in the "template" workflow.
1 parent a2570ca commit 21c8fe8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check-code-generation-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ on:
1111
- "Taskfile.yml"
1212
- "go.mod"
1313
- "go.sum"
14-
- "**/*.go"
14+
- "**.go"
1515
- "etc/schemas/**/*.json"
1616
pull_request:
1717
paths:
1818
- ".github/workflows/check-code-generation-task.ya?ml"
1919
- "Taskfile.yml"
2020
- "go.mod"
2121
- "go.sum"
22-
- "**/*.go"
22+
- "**.go"
2323
- "etc/schemas/**/*.json"
2424

2525
jobs:

.github/workflows/test-go-task.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ on:
1313
- "Taskfile.yml"
1414
- "go.mod"
1515
- "go.sum"
16-
- "**/*.go"
16+
- "**.go"
1717
- "**/testdata/**"
1818
pull_request:
1919
paths:
2020
- ".github/workflows/test-go-task.ya?ml"
2121
- "Taskfile.yml"
2222
- "go.mod"
2323
- "go.sum"
24-
- "**/*.go"
24+
- "**.go"
2525
- "**/testdata/**"
2626
workflow_dispatch:
2727
repository_dispatch:

0 commit comments

Comments
 (0)