Skip to content

Commit 742dec8

Browse files
committed
update
1 parent b22380b commit 742dec8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.tekton/verify-enterprise-contract-task-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# comment
21
apiVersion: tekton.dev/v1
32
kind: PipelineRun
43
metadata:
@@ -9,7 +8,7 @@ metadata:
98
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
109
pipelinesascode.tekton.dev/max-keep-runs: "3"
1110
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "ec-release-debugging"
11+
== "ec-release-debugging" && files.all.exists(x, x.matches('tasks/verify-enterprise-contract/'))
1312
creationTimestamp: null
1413
labels:
1514
appstudio.openshift.io/application: ec-release-debugging

.tekton/verify-enterprise-contract-task-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
99
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10-
== "ec-release-debugging"
10+
== "ec-release-debugging" && files.all.exists(x, x.matches('tasks/verify-enterprise-contract/'))
1111
creationTimestamp: null
1212
labels:
1313
appstudio.openshift.io/application: ec-release-debugging

0 commit comments

Comments
 (0)