Skip to content

Commit d57dcdd

Browse files
ci: add path filters to skip KinD e2e on unrelated changes
The KinD e2e matrix (3 test suites × 2 k8s versions) currently fires on every PR regardless of what changed. Restricting it to paths that can actually affect runtime behaviour — Go source, go.mod/sum, config/, test/, and the workflow file itself — avoids wasting ~6 parallel runner-hours on documentation or tooling-only changes. The e2e-tests check is not a required status check on the upstream repo (Prow handles gating), so a skipped run on docs-only PRs does not block merging. Made-with: Cursor
1 parent 7c4c338 commit d57dcdd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/kind-e2e.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: KinD e2e tests
33
on:
44
pull_request:
55
branches: [ 'main', 'master' ]
6+
paths:
7+
- '**.go'
8+
- 'go.mod'
9+
- 'go.sum'
10+
- 'config/**'
11+
- 'test/**'
12+
- '.github/workflows/kind-e2e.yaml'
613

714
defaults:
815
run:

0 commit comments

Comments
 (0)