From 5ab5df46ab191e01c5c1a4ff5d63b12d98f8d2d1 Mon Sep 17 00:00:00 2001 From: Chaitanya Kandagatla Date: Wed, 17 Jul 2024 14:19:37 -0500 Subject: [PATCH] update konflux pipeline Signed-off-by: Chaitanya Kandagatla --- .tekton/ocm-cli-push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tekton/ocm-cli-push.yaml b/.tekton/ocm-cli-push.yaml index 2dcd4e0f..6805a812 100644 --- a/.tekton/ocm-cli-push.yaml +++ b/.tekton/ocm-cli-push.yaml @@ -8,8 +8,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-cel-expression: | event == "push" && - (target_branch.startsWith("refs/tags/v") || - (target_branch == "main" && event_title.startsWith("[KONFLUX_RELEASE]"))) + (target_branch.startsWith("refs/tags/v") || target_branch.startsWith("konflux_release")) creationTimestamp: null labels: appstudio.openshift.io/application: ocm-cli