Only add link checker in MR and default branch pipelines
What does this MR do and why?
Hopefully one final tweak to improve the behavior of the Markdown Link Checker CI/CD component, this adds rules to only add the component to the pipeline in default branch pipelines and MR pipelines.
Screenshots, screen recordings, or links to review app
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this merge request.