Closed RedYetiDev closed 2 months ago
The ref resolves to a sha, so it's identically robust.
first off, I didn't mean to close this, whoops!
Secondly, the ref
resolves the branch name (I.E. main
), which is not as robust as an sha
which is constant.
I'm not sure that's valuable here - the sha can be checked after the run.
Relying on a PR's
sha
is more robust than relying on it'sref
. Thesha
is unique to a commit, while theref
is unique to a branch.