Do not trigger lint and pull workflows when sync nightly #26921 (#101746)
These workflows run when the nightly PR #26921 is synched and they will fail due to the large commit message saved in env variable `COMMIT_MESSAGES`, for example https://github.com/pytorch/pytorch/actions/runs/4977477882. We don't need to run CI jobs on nightly.
The list of failing workflows is from https://hud.pytorch.org/pytorch/pytorch/commit/f3e13d956729d4fa9ce35dca5beed588c914797d
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101746
Approved by: https://github.com/atalman, https://github.com/malfet