Skip to content

Commit 437c0a9

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 bcaad0f commit 437c0a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ on:
1212
- "Taskfile.yml"
1313
- "go.mod"
1414
- "go.sum"
15-
- "**/*.go"
15+
- "**.go"
1616
- "**/testdata/**"
1717
pull_request:
1818
paths:
1919
- ".github/workflows/test-go-task.ya?ml"
2020
- "Taskfile.yml"
2121
- "go.mod"
2222
- "go.sum"
23-
- "**/*.go"
23+
- "**.go"
2424
- "**/testdata/**"
2525
workflow_dispatch:
2626
repository_dispatch:

0 commit comments

Comments
 (0)