File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
pkg/cmd/tknpac/generate/templates Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,12 @@ metadata:
1111 # The branch or tag we are targeting (ie: main, refs/tags/*)
1212 pipelinesascode.tekton.dev/on-target-branch: "<< .event.BaseBranch >>"
1313 << if .use_cluster_task >>
14- # If we want to use the git-clone task from hub we can simply grab it with this annotations.
15- # and referencing in the taskRef. Pipelines as Code will grab it from hub and automatically use the latest version.
14+ # If we want to use the git-clone task from hub we could specify the
15+ # annotation `pipelinesascode.tekton.dev/task annotation` and reference it
16+ # in the taskRef. Pipelines as Code when it sees this will grab it from hub
17+ # and automatically use the latest version. right now by default we will
18+ # use the `git-clone` ClusterTasks as shipped on this cluster.
19+ #
1620 # pipelinesascode.tekton.dev/task: "git-clone"
1721
1822 <<- else >>
You can’t perform that action at this time.
0 commit comments