Skip to content

Commit 130bfb1

Browse files
committed
Only run update-dependencies on the main branch
The job is always failing on any other branch since there is no image present. Signed-off-by: Romain Arnaud <[email protected]>
1 parent 18df671 commit 130bfb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.tekton/update-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kind: PipelineRun
44
metadata:
55
annotations:
66
pipelinesascode.tekton.dev/on-event: "[push]"
7-
pipelinesascode.tekton.dev/on-target-branch: "[refs/heads/*]"
7+
pipelinesascode.tekton.dev/on-target-branch: "[main]"
88
pipelinesascode.tekton.dev/task: "[git-clone, github-open-pr]"
99
pipelinesascode.tekton.dev/max-keep-runs: "5"
1010
name: pipeline-service-update-dependencies

0 commit comments

Comments
 (0)