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/on-cel-expression:
|
||||
event == "pull_request" && target_branch
|
||||
== "main"
|
||||
== "main" && ! "docs/***".pathChanged()
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: centos-bootc
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ metadata:
|
|||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||
pipelinesascode.tekton.dev/on-cel-expression:
|
||||
event == "push" && target_branch
|
||||
== "main"
|
||||
== "main" && ! "docs/***".pathChanged()
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: centos-bootc
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ metadata:
|
|||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||
pipelinesascode.tekton.dev/on-cel-expression:
|
||||
event == "pull_request" && target_branch
|
||||
== "main"
|
||||
== "main" && ! "docs/***".pathChanged()
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: fedora-bootc
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ metadata:
|
|||
pipelinesascode.tekton.dev/max-keep-runs: "3"
|
||||
pipelinesascode.tekton.dev/on-cel-expression:
|
||||
event == "push" && target_branch
|
||||
== "main"
|
||||
== "main" && ! "docs/***".pathChanged()
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
appstudio.openshift.io/application: fedora-bootc
|
||||
|
|
|
|||
Loading…
Reference in New Issue