Route Dependabot Ruby reviews via CODEOWNERS - #22933
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Dependabot review routing for Ruby-related dependency/tooling changes by migrating from the deprecated dependabot.yml reviewers key to path-based CODEOWNERS rules.
Changes:
- Removed the deprecated/no-op
reviewerskey from the Bundler section in.github/dependabot.yml. - Added
CODEOWNERSentries to request reviews from@wordpress-mobile/apps-infra-toolingfor Ruby tooling files (Gemfile*,.ruby-version,.bundle/,.rubocop*.yml).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/dependabot.yml |
Removes deprecated Dependabot reviewer configuration for Bundler updates. |
.github/CODEOWNERS |
Adds ownership rules so Dependabot Ruby/tooling PRs request reviews from the tooling team. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Gemfile* @wordpress-mobile/apps-infra-tooling | ||
| .ruby-version @wordpress-mobile/apps-infra-tooling | ||
| .bundle/ @wordpress-mobile/apps-infra-tooling | ||
| .rubocop*.yml @wordpress-mobile/apps-infra-tooling |
There was a problem hiding this comment.
I like how generic the pattern is. It will remain valid even if those files are moved to subfolders.
Posted by Claude (Opus 4.8) on behalf of @mokagio with approval.
|
|
|
|
7500794 to
3f3ae94
Compare


Why
GitHub retired the
dependabot.ymlreviewerskey on 2025-08-08 — Dependabot ignores it and defers toCODEOWNERS. The key was added before we caught the deprecation, so it's currently a no-op.This adds
CODEOWNERSentries routing future Dependabot Ruby PRs toapps-infra-tooling, and removes the dead key. Part of AINFRA-2437.Note
CODEOWNERSis path-driven, so this also requestsapps-infra-toolingon any human PR touching the Ruby tooling files (Gemfile*,.ruby-version,.bundle/,.rubocop*.yml) — intended.How to test
GitHub validates
CODEOWNERSon push; confirm no errors under the repo's CODEOWNERS check.Posted by Claude (Opus 4.8) on behalf of @mokagio with approval.