Skip to content

Add job to run rubocop docs link check in docs pipelines

Marcel Amirault requested to merge add-rubocop-docs-link-check-pipeline into master

What does this MR do and why?

We should run the new cop that checks docs link from ruby files in all docs-only pipelines: !165516 (merged)

If we change a filename or anchor in docs, the links from UI will break, so we need to run this check in docs pipelines too, similar to ui-docs-links lint (https://gitlab.com/gitlab-org/gitlab/-/blob/12aa17f36517a26b278379d89098e5387f025767/.gitlab/ci/docs.gitlab-ci.yml#L98-106) which checks docs links from HAML files.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Marcel Amirault

Merge request reports

Loading