Skip to content

Commit 5f7a417

Browse files
committed
Freeze tekton push on ystream
1 parent d0cebab commit 5f7a417

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.tekton/network-observability-console-plugin-ystream-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ metadata:
77
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main"
1211
creationTimestamp: null
1312
labels:
1413
appstudio.openshift.io/application: netobserv-ystream

.tekton/network-observability-console-plugin-ystream-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
# switch comment in/out at branch cut / release
11-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
12-
# pipelinesascode.tekton.dev/on-cel-expression: "false"
11+
# pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
12+
pipelinesascode.tekton.dev/on-cel-expression: "false"
1313
creationTimestamp: null
1414
labels:
1515
appstudio.openshift.io/application: netobserv-ystream

0 commit comments

Comments
 (0)