Make 'on-cel-expression' more readable

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
This commit is contained in:
Miguel Martín 2025-06-27 14:00:19 +02:00
parent 43824ce37d
commit 172a01a6a7
No known key found for this signature in database
GPG key ID: 399C0C41974AC700
16 changed files with 199 additions and 72 deletions

View file

@ -8,10 +8,16 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" && ( "./standard.yaml".pathChanged() || "./fedora-includes/generic.yaml".pathChanged()
|| "./standard/***".pathChanged() || ".tekton/fedora-bootc-42-standard-pull-request.yaml".pathChanged()
|| "Containerfile".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" &&
(
target_branch == "main"
) && (
".tekton/fedora-bootc-42-standard-pull-request.yaml".pathChanged() ||
"Containerfile".pathChanged() ||
"fedora-includes/generic.yaml".pathChanged() ||
"standard.yaml".pathChanged() ||
"standard/***".pathChanged()
creationTimestamp: null
labels:
appstudio.openshift.io/application: fedora-bootc-42