Skip to content

Commit b9e4357

Browse files
Merge pull request #941 from jiridanek/jd_check_repo_konflux
RHOAIENG-18400: chore(konflux): restrict triggering only for the opendatahub-io/notebooks repository
2 parents a0c7cd7 + 5e5ba29 commit b9e4357

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.tekton/jupyter-minimal-ubi9-python-3-11-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1111
pipelinesascode.tekton.dev/max-keep-runs: "3"
1212
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
13-
== "main"
13+
== "main" && has(body.repository) && body.repository.full_name == "opendatahub-io/notebooks"
1414
creationTimestamp: null
1515
labels:
1616
appstudio.openshift.io/application: notebooks

.tekton/jupyter-minimal-ubi9-python-3-11-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
pipelinesascode.tekton.dev/cancel-in-progress: "false"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
1111
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
12-
== "main"
12+
== "main" && has(body.repository) && body.repository.full_name == "opendatahub-io/notebooks"
1313
creationTimestamp: null
1414
labels:
1515
appstudio.openshift.io/application: notebooks

0 commit comments

Comments
 (0)