Add new ruleset to cover all docs patterns

What does this MR do?

The docs hugo_build test job needs to run when either English or non-English docs changes are made.

The existing job used extends and two different rulesets (one for English, one for localized pages), which caused the job to only run for changes to non-English pages.

This MR fixes this behavior by creating a new single rule that covers both doc types (English + non-English).

Why was this MR needed?

A bad shortcode could make it to production without a failure inside the /doc directory. Then it would break the pipeline across all projects.

What's the best way to test this MR?

Test jobs

Before

Behavior Example Pipeline
English only, docs hugo_build didn't run https://gitlab.com/gitlab-org/gitlab-runner/-/pipelines/2035299007

After

Behavior Example Pipeline
English only MR runs the docs hugo_build https://gitlab.com/gitlab-org/gitlab-runner/-/pipelines/2035349237
JP-only MR runs the docs hugo_build https://gitlab.com/gitlab-org/gitlab-runner/-/pipelines/2035350379

What are the relevant issue numbers?

  1. Related gitlab-com/localization/docs-site-localization#337 (closed)
  2. Related gitlab-com/localization/tech-docs-forked-projects/prod/gitlab-docs!31 (comment 2743518081)
Edited by Lauren Barker

Merge request reports

Loading