chore: release-branch test logs HEAD (#172)

## Why this should be merged

Debugging release-branch test failures in CI but not locally.

## How this works

Logs `HEAD` before testing branch properties.

## How this was tested

NA
This commit is contained in:
Arran Schlosberg 2025-03-26 09:59:35 +00:00 committed by GitHub
parent 319a92458d
commit 1d75a11657
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -182,6 +182,7 @@ func testReleaseBranch(t *testing.T, targetBranch string) {
require.NoErrorf(t, err, "%T.Head()", repo)
head := commitFromRef(t, repo, headRef)
t.Logf("HEAD is %v (%s)", head.Hash, commitMsgFirstLine(head))
main := commitFromBranchName(t, repo, defaultBranch)
closestCommonAncestors, err := head.MergeBase(main)