mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-06 13:50:28 +08:00
Prevents `git fetch origin pull/<N>/head:main` failures on fork PRs whose head branch is also named `main` — using a SHA puts the runner in detached HEAD so the main ref is free for the action's internal fetch.