Let gitlab-bot own the frontend spec code owner rules

What does this MR do and why?

The [Maintainers] section already lists @gitlab-bot as an owner of /spec/ and /ee/spec/, so that triage-ops auto-approval of gitlab-bot::auto-approve merge requests counts towards the code owner rule.

The /spec/frontend/ and /ee/spec/frontend/ lines sit in the same section and override those broader patterns, so for Jest-spec-only changes the rule resolved to @gitlab-org/maintainers/frontend alone and the bot's approval was ignored. This MR adds @gitlab-bot to those two lines as well.

Merge requests from the last 10 days that this would have covered

Every gitlab-bot::auto-approve merge request with activity since 2026-10-04 that touches spec/frontend/ or ee/spec/frontend/. All ten are frontend-spec-only, and each one the bot approved still had to collect a separate human frontend maintainer approval:

Merge request Extra approval that was needed
!257792 (merged) @pgascouvaillancourt
!259333 (merged) @fredericcaplette
!259445 (merged) @justin_ho
!259670 (merged) @deepika.guliani
!259964 (merged) @deepika.guliani
!260484 (merged) @aturinske
!260485 (merged) @aturinske
!261134 (merged) @dpisek
!262099 (merged) @rfrederico, @blabuschagne
!262105 (merged) bot had not approved yet

Three of those also match optional sections that this MR does not change, so they would still need those approvals: [Security Insights frontend] owns /ee/spec/frontend/security_dashboard/ and /ee/spec/frontend/dependencies/, and [Duo Chat] owns /ee/spec/frontend/ai/duo_agentic_chat/.

/spec/views/ and /ee/spec/views/ are deliberately left alone: those are backend view specs, not Jest specs, and they are owned by the backend and frontend maintainer groups rather than by the /spec/ rule.

References

Follows the same reasoning as the existing @gitlab-bot ownership of /spec/ and /ee/spec/, introduced for triage-ops auto-approval.

Related to: https://gitlab.com/gitlab-org/gitlab/-/work_items/622605

Screenshots or screen recordings

Not applicable. This change has no user-visible UI.

How to set up and validate locally

Not applicable locally: CODEOWNERS is evaluated by GitLab.com against this project's master branch. Once merged, open a merge request that changes only files under spec/frontend/ or ee/spec/frontend/ and confirm that an approval from @gitlab-bot satisfies the [Maintainers] code owner rule.

MR acceptance checklist

  • No changelog entry: tooling/config change with no user-facing effect.
  • No tests: CODEOWNERS is configuration, not code.
  • No documentation update: the file's own comments explain the rule.
Edited by Karan Bhatia

Merge request reports

Loading
Loading