4d8543040e
In GitHub Actions, local branches don't exist - only remote branches under refs/remotes/origin/. This fixes the branch scanning loop to scan remote branches instead of local refs/heads. Also fixes the merge-base check to use the full remote ref path.