.github: Consolidate binary checkout logic
Consolidates binary checkout logic to use the standard common logic we
have in our common templates. Also fixes issues related to
pytorch/builder trying to checkout the head commit for pytorch/pytorch
instead of checking out the builder commit we actually want
Signed-off-by: Eli Uriegas <eliuriegasfb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73092
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>