Checking out a ref of the branch requires the remote to be the same as the fork whereas setting it to be the commit SHA allows for us to avoid changing the remote. This should fix the action not working on PRs made from forks (essentially all of them).