Steps to replicate the issue (include links if applicable):
- toolforge build start --ref=buildservice https://github.com/dhinus/wikidata-painters
What happens?:
[step-clone] 2025-05-16T14:26:45.984027419Z + /ko-app/git-init '-url=https://github.com/dhinus/wikidata-painters' '-revision=bec591393bd9656e37184e3afd2086f01148650e' '-refspec=' '-path=/workspace/' '-sslVerify=true' '-submodules=true' '-depth=1' '-sparseCheckoutDirectories='
What should have happened instead?:
The tip of the branch buildservice should be used.
Other information
Looking at the resolveRef function, it seems that the value of ref is never used: https://gitlab.wikimedia.org/repos/cloud/toolforge/builds-api/-/blob/main/internal/build.go#L784