diff --git a/.tekton/exhort-pull-request.yaml b/.tekton/exhort-pull-request.yaml index 050869a0..7f81be61 100644 --- a/.tekton/exhort-pull-request.yaml +++ b/.tekton/exhort-pull-request.yaml @@ -9,7 +9,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[pull_request]' pipelinesascode.tekton.dev/on-cel-expression: | - event == "pull_request" && target_branch == "stable" && !("dashboard/*".pathChanged() || "deploy/*".pathChanged()) + event == "pull_request" && target_branch == "stable" && ("pom.xml".pathChanged() || "api-spec/*".pathChanged() || "src/*".pathChanged() || "ui/*".pathChanged()) creationTimestamp: null labels: appstudio.openshift.io/application: exhort-alpha diff --git a/.tekton/exhort-push.yaml b/.tekton/exhort-push.yaml index 90ffc775..89a8b8a2 100644 --- a/.tekton/exhort-push.yaml +++ b/.tekton/exhort-push.yaml @@ -8,7 +8,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[push]' pipelinesascode.tekton.dev/on-cel-expression: | - event == "push" && target_branch == "stable" && !("dashboard/*".pathChanged() || "deploy/*".pathChanged()) + event == "push" && target_branch == "stable" && ("pom.xml".pathChanged() || "api-spec/*".pathChanged() || "src/*".pathChanged() || "ui/*".pathChanged()) creationTimestamp: null labels: appstudio.openshift.io/application: exhort-alpha