You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-29 14:01:15 +03:00
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.
This commit is contained in:
4
.github/workflows/check-license.yml
vendored
4
.github/workflows/check-license.yml
vendored
@ -10,7 +10,7 @@ env:
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".github/workflows/check-license.yml"
|
||||
- ".github/workflows/check-license.ya?ml"
|
||||
# See: https://github.com/licensee/licensee/blob/master/docs/what-we-look-at.md#detecting-the-license-file
|
||||
- "[cC][oO][pP][yY][iI][nN][gG]*"
|
||||
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
|
||||
@ -19,7 +19,7 @@ on:
|
||||
- "[pP][aA][tT][eE][nN][tT][sS]*"
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/workflows/check-license.yml"
|
||||
- ".github/workflows/check-license.ya?ml"
|
||||
- "[cC][oO][pP][yY][iI][nN][gG]*"
|
||||
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
|
||||
- "[lL][iI][cC][eE][nN][cCsS][eE]*"
|
||||
|
Reference in New Issue
Block a user