It doesn’t make sense to run this for non-PRs, because:
- There are known whitespace “violations” in previous commits, so the lint may fail
- Once the changes are merged, it is too late to fix them up (force pushes are illegal)
- It isn’t possible to determine which commits to run on if there is no reference branch (target branch of the pull request)
Moreover, the test fails on non-master:
Fix all issues by skipping it.