diff --git a/.tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml b/.tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml index 2edec6fa21b..b6b43cc0ec1 100644 --- a/.tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml +++ b/.tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml @@ -7,7 +7,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "rhoai-2.16" && ( "./components/***".pathChanged() || ".tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml".pathChanged() || "notebook-controller/Dockerfile.konflux".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "rhoai-2.16" && !matches(source_branch, "^konflux/references") && !matches(source_branch, "^konflux/component-updates") && ( "./components/***".pathChanged() || ".tekton/odh-kf-notebook-controller-v2-16-pull-request.yaml".pathChanged() || "notebook-controller/Dockerfile.konflux".pathChanged() ) creationTimestamp: labels: appstudio.openshift.io/application: rhoai-v2-16 diff --git a/.tekton/odh-notebook-controller-v2-16-pull-request.yaml b/.tekton/odh-notebook-controller-v2-16-pull-request.yaml index 3543744153c..03f0384b26f 100644 --- a/.tekton/odh-notebook-controller-v2-16-pull-request.yaml +++ b/.tekton/odh-notebook-controller-v2-16-pull-request.yaml @@ -7,7 +7,7 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "rhoai-2.16" && ( "./components/***".pathChanged() || ".tekton/odh-notebook-controller-v2-16-pull-request.yaml".pathChanged() || "odh-notebook-controller/Dockerfile.konflux".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "rhoai-2.16" && !matches(source_branch, "^konflux/references") && !matches(source_branch, "^konflux/component-updates") && ( "./components/***".pathChanged() || ".tekton/odh-notebook-controller-v2-16-pull-request.yaml".pathChanged() || "odh-notebook-controller/Dockerfile.konflux".pathChanged() ) creationTimestamp: labels: appstudio.openshift.io/application: rhoai-v2-16