Skip to content

Commit bfa77ea

Browse files
ci: improve license check (#503)
1 parent 7a9d9c3 commit bfa77ea

File tree

4 files changed

+1807
-798
lines changed

4 files changed

+1807
-798
lines changed

.github/workflows/check-license.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,23 @@ on:
1111
push:
1212
paths:
1313
- ".github/workflows/check-license.ya?ml"
14-
# See: https://github.com/licensee/licensee/blob/master/docs/what-we-look-at.md#detecting-the-license-file
15-
- "[cC][oO][pP][yY][iI][nN][gG]*"
16-
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
17-
- "[lL][iI][cC][eE][nN][cCsS][eE]*"
18-
- "[oO][fF][lL]*"
19-
- "[pP][aA][tT][eE][nN][tT][sS]*"
14+
- ".licenses/**"
15+
- ".licensed.json"
16+
- ".licensed.ya?ml"
17+
- "Taskfile.ya?ml"
18+
- "**/.gitmodules"
19+
- "**/go.mod"
20+
- "**/go.sum"
2021
pull_request:
2122
paths:
2223
- ".github/workflows/check-license.ya?ml"
23-
- "[cC][oO][pP][yY][iI][nN][gG]*"
24-
- "[cC][oO][pP][yY][rR][iI][gG][hH][tH]*"
25-
- "[lL][iI][cC][eE][nN][cCsS][eE]*"
26-
- "[oO][fF][lL]*"
27-
- "[pP][aA][tT][eE][nN][tT][sS]*"
24+
- ".licenses/**"
25+
- ".licensed.json"
26+
- ".licensed.ya?ml"
27+
- "Taskfile.ya?ml"
28+
- "**/.gitmodules"
29+
- "**/go.mod"
30+
- "**/go.sum"
2831
workflow_dispatch:
2932
repository_dispatch:
3033

0 commit comments

Comments
 (0)