| commit | 3ac55b43d06c3fdfbc86d0f7d72eafbbd865686f | [log] [tgz] |
|---|---|---|
| author | Arthur She <arthur.she@linaro.org> | Fri Dec 12 14:01:40 2025 -0800 |
| committer | Arthur She <arthur.she@linaro.org> | Fri Dec 12 14:01:40 2025 -0800 |
| tree | cb29048ba1eaa9ed634214fe0d73df1918fd91f7 | |
| parent | 3d1de32e8988b706055883d299bda8a394a803eb [diff] |
tf-a-lts-automation.yaml: correctly check for existing remote branches
`git ls-remote` was previously checking `${BRANCH}`
without explicitly specifying the reference, which
could lead to incorrect results.
Update the checks to use `refs/heads/${BRANCH}` to
reliably determine whether the branch already
exists in the remote repositories.
Change-Id: I850233fb44c59805bda0e350b1825e4d22019f68
Signed-off-by: Arthur She <arthur.she@linaro.org>