Add gitlab-bot as a code owner of the view spec paths
What does this MR do and why?
Adds @gitlab-bot as a code owner of /spec/views/ and /ee/spec/views/.
/spec/ and /ee/spec/ already list @gitlab-bot so that its triage-ops
auto-approval of gitlab-bot::auto-approve merge requests counts towards the
code owner rule. The two view spec paths sit below those entries and override
them without carrying @gitlab-bot across, so on a view spec the bot's
approval satisfies only the "All Members" rule while the code owner rule stays
unmet.
Evidence
Over the 14 days to 2026-10-30, 535 spec-only merge requests carried a
gitlab-bot approval. 10 of them had that approval satisfy no code owner rule,
and 8 of the 10 were /ee/spec/views/:
| MR | Rule the approval could not satisfy | Maintainer who approved instead |
|---|---|---|
| !261740 (merged) | /spec/views/ |
@marc_shaw |
| !263402 (merged) | /ee/spec/views/ |
@tgao3701908 |
| !263415 (merged) | /ee/spec/views/ |
@jivanvl |
| !263417 (merged) | /ee/spec/views/ |
@jivanvl |
| !263424 (merged) | /ee/spec/views/ |
@kushalpandya |
| !263874 (merged) | /ee/spec/views/ |
@smaglangit |
| !264330 (merged) | /ee/spec/views/ |
@svedova |
| !264828 (merged) | /ee/spec/views/ |
@michold |
| !265436 (merged) | /ee/spec/views/ |
@jpcyiza |
In every case a maintainer was pulled in purely to satisfy the rule. Six left
no comment at all and three left only "LGTM"; none requested a change. The
changes themselves were mechanical (Add missing example descriptions in ...,
Fix RSpec/FeatureCategory in ...).
Scope and limits
This is a sample of 10 merge requests over two weeks, and only one of them was
/spec/views/ — that path is included because it is the same rule shape as
/ee/spec/views/, not because it was separately measured.
*.haml on line 78 is a glob above these entries that does not carry
@gitlab-bot. View specs are named *_spec.rb so they should not match it,
but a maintainer familiar with the section ordering may want to confirm that.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.