diff --git a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml index 38c96c656337..e65b511247a8 100644 --- a/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api/cluster-api-presubmits-main.yaml @@ -8,6 +8,7 @@ presubmits: preset-service-account: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -28,6 +29,7 @@ presubmits: preset-dind-enabled: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -53,6 +55,7 @@ presubmits: preset-service-account: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -71,6 +74,7 @@ presubmits: preset-service-account: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -92,6 +96,7 @@ presubmits: preset-service-account: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -113,6 +118,7 @@ presubmits: preset-service-account: "true" branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ spec: containers: @@ -141,6 +147,7 @@ presubmits: decorate: true branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ path_alias: sigs.k8s.io/cluster-api run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|scripts|test|third_party|util)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' @@ -170,6 +177,7 @@ presubmits: optional: true branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ path_alias: sigs.k8s.io/cluster-api run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|errors|exp|feature|hack|scripts|test|third_party|util)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)' @@ -206,6 +214,7 @@ presubmits: always_run: false branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ path_alias: sigs.k8s.io/cluster-api spec: @@ -238,6 +247,7 @@ presubmits: always_run: false branches: # The script this job runs is not in all branches. + - ^main$ - ^master$ path_alias: sigs.k8s.io/cluster-api extra_refs: