Skip to content

Commit f16537e

Browse files
committed
Make "Check Prettier Formatting" workflow support taskfiles using either YAML file 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 9fdd765 commit f16537e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push:
66
paths:
77
- ".github/workflows/check-formatting.yml"
8-
- "Taskfile.yml"
8+
- "Taskfile.ya?ml"
99
- "**/.prettierignore"
1010
- "**/.prettierrc*"
1111
# CSS
@@ -101,7 +101,7 @@ on:
101101
pull_request:
102102
paths:
103103
- ".github/workflows/check-formatting.yml"
104-
- "Taskfile.yml"
104+
- "Taskfile.ya?ml"
105105
- "**/.prettierignore"
106106
- "**/.prettierrc*"
107107
# CSS

0 commit comments

Comments
 (0)