Skip to content

Commit ddd9547

Browse files
committed
Make "Check License" workflow path 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 612ad1c commit ddd9547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-license.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
on:
1010
push:
1111
paths:
12-
- ".github/workflows/check-license.yml"
12+
- ".github/workflows/check-license.ya?ml"
1313
# See: https://github.com/licensee/licensee/blob/master/docs/what-we-look-at.md#detecting-the-license-file
1414
- "[cC][oO][pP][yY][iI][nN][gG]*"
1515
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
@@ -18,7 +18,7 @@ on:
1818
- "[pP][aA][tT][eE][nN][tT][sS]*"
1919
pull_request:
2020
paths:
21-
- ".github/workflows/check-license.yml"
21+
- ".github/workflows/check-license.ya?ml"
2222
- "[cC][oO][pP][yY][iI][nN][gG]*"
2323
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
2424
- "[lL][iI][cC][eE][nN][cCsS][eE]*"

0 commit comments

Comments
 (0)