Patch Changes
-
#566
012ed3f- FixVARLOCK_BRANCHreturningrefs/pull/123/mergein GitHub Actions PR workflows.In GitHub Actions pull request contexts,
GITHUB_REFis set to the merge ref (e.g.refs/pull/123/merge) rather than the branch name. GitHub Actions also providesGITHUB_HEAD_REFwhich contains the actual PR head branch name (e.g.feat-init-infra).Changes:
- Updated GitHub Actions platform branch extractor to prefer
GITHUB_HEAD_REFwhen available, falling back torefToBranch(GITHUB_REF)for non-PR contexts - Fixed
refToBranch()to returnundefinedforrefs/pull/refs instead of returning the raw merge ref string
- Updated GitHub Actions platform branch extractor to prefer