Don't trigger the pull request pipeline if docs files were changed
This commit is contained in:
parent
adb920b1a3
commit
de15fad398
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||||
pipelinesascode.tekton.dev/on-cel-expression:
|
pipelinesascode.tekton.dev/on-cel-expression:
|
||||||
event == "pull_request" && target_branch
|
event == "pull_request" && target_branch
|
||||||
== "main"
|
== "main" && ! "docs/***".pathChanged()
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
appstudio.openshift.io/application: centos-bootc
|
appstudio.openshift.io/application: centos-bootc
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||||
pipelinesascode.tekton.dev/on-cel-expression:
|
pipelinesascode.tekton.dev/on-cel-expression:
|
||||||
event == "push" && target_branch
|
event == "push" && target_branch
|
||||||
== "main"
|
== "main" && ! "docs/***".pathChanged()
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
appstudio.openshift.io/application: centos-bootc
|
appstudio.openshift.io/application: centos-bootc
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||||
pipelinesascode.tekton.dev/on-cel-expression:
|
pipelinesascode.tekton.dev/on-cel-expression:
|
||||||
event == "pull_request" && target_branch
|
event == "pull_request" && target_branch
|
||||||
== "main"
|
== "main" && ! "docs/***".pathChanged()
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
appstudio.openshift.io/application: fedora-bootc
|
appstudio.openshift.io/application: fedora-bootc
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||||
pipelinesascode.tekton.dev/on-cel-expression:
|
pipelinesascode.tekton.dev/on-cel-expression:
|
||||||
event == "push" && target_branch
|
event == "push" && target_branch
|
||||||
== "main"
|
== "main" && ! "docs/***".pathChanged()
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
appstudio.openshift.io/application: fedora-bootc
|
appstudio.openshift.io/application: fedora-bootc
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue