Skip to content

Commit f9a1b98

Browse files
committed
Make "Check Go" workflow paths filter handle either YAML extension
There are two file extensions in common use for YAML files: `.yaml` and `.yml`. Although this project uses `.yml` exclusively for YAML files, this is a standardized workflow which might be applied to projects that have established the use of the other extension. It will be most flexible if it supports both.
1 parent 2f03532 commit f9a1b98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
create:
1010
push:
1111
paths:
12-
- ".github/workflows/check-go-task.yml"
13-
- "Taskfile.yml"
12+
- ".github/workflows/check-go-task.ya?ml"
13+
- "Taskfile.ya?ml"
1414
- "**/go.mod"
1515
- "**/go.sum"
1616
- "**.go"
1717
pull_request:
1818
paths:
19-
- ".github/workflows/check-go-task.yml"
20-
- "Taskfile.yml"
19+
- ".github/workflows/check-go-task.ya?ml"
20+
- "Taskfile.ya?ml"
2121
- "**/go.mod"
2222
- "**/go.sum"
2323
- "**.go"

0 commit comments

Comments
 (0)