Skip to content

Commit d6ea8fa

Browse files
committed
chore: Make sure CI file filters are sound
Signed-off-by: Kemal Akkoyun <[email protected]>
1 parent a160802 commit d6ea8fa

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/check-makefile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- main
77
paths:
8-
- "Makefile"
8+
- "**/*Makefile*"
99
- ".checkmake"
1010
- ".github/workflows/checkmake.yaml"
1111
pull_request:
1212
paths:
13-
- "Makefile"
13+
- "**/*Makefile*"
1414
- ".checkmake"
1515
- ".github/workflows/checkmake.yaml"
1616

.github/workflows/lint-dockerfile.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ name: Check Dockerfiles
22

33
on:
44
pull_request:
5+
paths:
6+
- '**/*Dockerfile*'
7+
- '.hadolint.yaml'
8+
- '.github/workflows/lint-dockerfile.yaml'
59
push:
610
branches:
711
- main
12+
paths:
13+
- '**/*Dockerfile*'
14+
- '.hadolint.yaml'
15+
- '.github/workflows/lint-dockerfile.yaml'
816

917
permissions:
1018
contents: read

.github/workflows/lint-golang.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ on:
33
push:
44
branches:
55
- main
6+
paths:
7+
- '**/*.go'
8+
- '.golangci.yml'
9+
- '.github/workflows/lint-golang.yaml'
610
pull_request:
11+
paths:
12+
- '**/*.go'
13+
- '.golangci.yml'
14+
- '.github/workflows/lint-golang.yaml'
715

816
permissions:
917
contents: read

0 commit comments

Comments
 (0)