From 070fa3efca7f3d0e2982296f1ec48868cba71c19 Mon Sep 17 00:00:00 2001 From: Misha Sugakov Date: Thu, 1 Feb 2024 17:58:55 +0100 Subject: [PATCH] Enable Konflux CI in PR branches having either "rhtap" or "konflux" Similar to https://github.com/stackrox/scanner/pull/1334#discussion_r1474212061 --- .tekton/scanner-db-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tekton/scanner-db-pull-request.yaml b/.tekton/scanner-db-pull-request.yaml index 77e6be642..a640fe2a2 100644 --- a/.tekton/scanner-db-pull-request.yaml +++ b/.tekton/scanner-db-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" && source_branch.contains("konflux") + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && (source_branch.contains("konflux") || source_branch.contains("rhtap")) creationTimestamp: null labels: appstudio.openshift.io/application: acs