Revert D29148233: [pytorch][PR] Add GITHUB_HEAD_REF in check for IN_PULL_REQUEST
Test Plan: revert-hammer
Differential Revision:
D29148233 (https://github.com/pytorch/pytorch/commit/241aac3ef81358577df40a38348c6a5744bed317)
Original commit changeset: 7c8c1866f39c
fbshipit-source-id: f32c6c6decd737ef290d3e83c9d021475aabaab0
Author
Rong Rong (AI Infra)