Make 'on-cel-expression' more readable
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
This commit is contained in:
parent
43824ce37d
commit
172a01a6a7
16 changed files with 199 additions and 72 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue