From 864ab1306022e5c6ea595d57d4c1fd2d41a5c927 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 4 Oct 2024 14:55:57 +0200 Subject: [PATCH] .tekton: fix on-cel-expression for operaton-main-bundle on pull-requests Signed-off-by: Vincent Demeester --- .tekton/operator-main-bundle-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tekton/operator-main-bundle-pull-request.yaml b/.tekton/operator-main-bundle-pull-request.yaml index d0b26daaa..855aa89e9 100644 --- a/.tekton/operator-main-bundle-pull-request.yaml +++ b/.tekton/operator-main-bundle-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 == "push" && target_branch == "main" && + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && (".tekton/operator-main-bundle-push.yaml".pathChanged() || ".tekton/operator-main-bundle-pull-request.yaml".pathChanged() || "image-mapping.yaml".pathChanged() ||