ci: don't lint commits in private repostiories

The lint.js script is making and API call to get pipeline details. This API call is not authenticated and so the script would fail in a private repo (e.g. our security fork).

Syntax example can be found in: https://docs.gitlab.com/ee/ci/yaml/README.html#skip-job-if-branch-is-empty

Merge request reports

Loading