From fd67555f13521306ba9e70fc47c710925e686177 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Fri, 29 Nov 2024 13:36:22 +0100 Subject: [PATCH] chores: Make Fleetshard operator build on PR (#2105) make fs operator build on PR --- .tekton/acs-fleetshard-operator-push.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.tekton/acs-fleetshard-operator-push.yaml b/.tekton/acs-fleetshard-operator-push.yaml index 7ae14021e..681e41c08 100644 --- a/.tekton/acs-fleetshard-operator-push.yaml +++ b/.tekton/acs-fleetshard-operator-push.yaml @@ -6,8 +6,9 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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: | + target_branch == "main" + && (event == "push" || event == "pull_request") creationTimestamp: null labels: appstudio.openshift.io/application: acscs-main