Move api lint out of static analysis job
What does this MR do?
There is no need to run the static analysis checks when changing only docs. Therefore, I moved the scripts/lint-doc.sh
script to run with the docs:check:links
job.
Also, it seems the static analysis job will always fail for docs/
branches since we're missing a step to install some packages, see https://gitlab.com/gitlab-org/gitlab-ce/builds/15470737.