From 34c3dc614df5b21e1d666ba3ee756e8e3818627b Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 10 Jun 2025 15:50:28 +0200 Subject: [PATCH] .tekton: support merge queues This lets konflux listen for push events to merge queue branches. See https://konflux-ci.dev/docs/patterns/github-merge-queues/. --- .tekton/image-builder-frontend-pull-request.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tekton/image-builder-frontend-pull-request.yaml b/.tekton/image-builder-frontend-pull-request.yaml index b7ea302d..098d717b 100644 --- a/.tekton/image-builder-frontend-pull-request.yaml +++ b/.tekton/image-builder-frontend-pull-request.yaml @@ -7,8 +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 - == "main" + pipelinesascode.tekton.dev/on-cel-expression: (event == "pull_request" && target_branch == "main") || (event == "push" && target_branch.startsWith("gh-readonly-queue/main/")) creationTimestamp: null labels: appstudio.openshift.io/application: insights-image-builder