Skip to content

Commit 1c4f14e

Browse files
(kubebuilder): fix: skip tests for docs and other irrelevant changes
1 parent b54c695 commit 1c4f14e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/jobs/kubernetes-sigs/kubebuilder/kubebuilder-presubmits.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ presubmits:
33
- name: pull-kubebuilder-test
44
cluster: eks-prow-build-cluster
55
decorate: true
6-
always_run: true
76
optional: false
7+
skip_if_only_changed: "^docs/|^designs/|^roadmap/|^scripts/|^\\.github/|\\.(md|adoc)$|^(README|LICENSE)$"
88
path_alias: sigs.k8s.io/kubebuilder
99
branches:
1010
- ^master$
@@ -29,8 +29,8 @@ presubmits:
2929
decorate: true
3030
decoration_config:
3131
timeout: 40m
32-
always_run: true
3332
optional: false
33+
skip_if_only_changed: "^docs/|^designs/|^roadmap/|^scripts/|^\\.github/|\\.(md|adoc)$|^(README|LICENSE)$"
3434
path_alias: sigs.k8s.io/kubebuilder
3535
branches:
3636
- ^master$
@@ -65,8 +65,8 @@ presubmits:
6565
decorate: true
6666
decoration_config:
6767
timeout: 40m
68-
always_run: true
6968
optional: false
69+
skip_if_only_changed: "^docs/|^designs/|^roadmap/|^scripts/|^\\.github/|\\.(md|adoc)$|^(README|LICENSE)$"
7070
path_alias: sigs.k8s.io/kubebuilder
7171
branches:
7272
- ^master$
@@ -101,8 +101,8 @@ presubmits:
101101
decorate: true
102102
decoration_config:
103103
timeout: 40m
104-
always_run: true
105104
optional: false
105+
skip_if_only_changed: "^docs/|^designs/|^roadmap/|^scripts/|^\\.github/|\\.(md|adoc)$|^(README|LICENSE)$"
106106
path_alias: sigs.k8s.io/kubebuilder
107107
branches:
108108
- ^master$

0 commit comments

Comments
 (0)