diff --git a/.tekton/tekton-caches-main-cache-pull-request.yaml b/.tekton/tekton-caches-main-cache-pull-request.yaml index 62b977729..6dc1e33e6 100644 --- a/.tekton/tekton-caches-main-cache-pull-request.yaml +++ b/.tekton/tekton-caches-main-cache-pull-request.yaml @@ -9,7 +9,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && - ("upstream/***".pathChanged() || "openshift/***".pathChanged() || + ("upstream/***".pathChanged() || "openshift/patches/***".pathChanged() || "openshift/rpms/***".pathChanged() || ".tekton/cache-pull-request.yaml".pathChanged() || ".tekton/cache-push.yaml".pathChanged() || ".tekton/docker-build.yaml".pathChanged()) diff --git a/.tekton/tekton-caches-main-cache-push.yaml b/.tekton/tekton-caches-main-cache-push.yaml index d6838060d..acfcff22d 100644 --- a/.tekton/tekton-caches-main-cache-push.yaml +++ b/.tekton/tekton-caches-main-cache-push.yaml @@ -8,7 +8,8 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && - ("upstream/***".pathChanged() || "openshift/***".pathChanged() || + ("upstream/***".pathChanged() || "openshift/patches/***".pathChanged() || "openshift/rpms/***".pathChanged() || + "openshift/dockerfiles/cache.Dockerfile".pathChanged() || ".tekton/cache-pull-request.yaml".pathChanged() || ".tekton/cache-push.yaml".pathChanged() || ".tekton/docker-build.yaml".pathChanged())