[lint] don't run differently on PR vs. master
I originally thought it might be nice for the CI workflow to only run
lint on files your PR changed, which is marginally faster. But this
doesn't work that well in cases where your change may have affected a
file you *didn't* change, like in the case of
https://github.com/pytorch/pytorch/commit/3a68155ce0973c005457593375801a2cc19de54f.
Since we block/revert on lint, it's better to be safe and just run the
exact same thing on PR and master.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77211
Approved by: https://github.com/albanD, https://github.com/malfet, https://github.com/seemethere