Skip to content

Route Dependabot Ruby reviews via CODEOWNERS - #727

Merged
mokagio merged 3 commits into
trunkfrom
mokagio/ainfra-2437-dependabot-codeowners
Jun 2, 2026
Merged

Route Dependabot Ruby reviews via CODEOWNERS#727
mokagio merged 3 commits into
trunkfrom
mokagio/ainfra-2437-dependabot-codeowners

Conversation

@mokagio

@mokagio mokagio commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Why

GitHub retired the dependabot.yml reviewers key on 2025-08-08 — Dependabot ignores it and defers to CODEOWNERS. The key was added before we caught the deprecation, so it's currently a no-op.

This adds CODEOWNERS entries routing future Dependabot Ruby PRs to apps-infra-tooling, and removes the dead key. Part of AINFRA-2437.

Note

CODEOWNERS is path-driven, so this also requests apps-infra-tooling on any human PR touching the Ruby tooling files (Gemfile*, .ruby-version, .bundle/, .rubocop*.yml) — intended.

How to test

GitHub validates CODEOWNERS on push; confirm no errors under the repo's CODEOWNERS check.


Posted by Claude (Opus 4.8) on behalf of @mokagio with approval.

Copilot AI review requested due to automatic review settings June 2, 2026 06:28
@mokagio mokagio self-assigned this Jun 2, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Warning
⚠️ Please add an entry in the CHANGELOG.md file to describe the changes made by this PR

Generated by 🚫 Danger

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s Dependabot Ruby review routing to use CODEOWNERS (per GitHub’s deprecation of the dependabot.yml reviewers key), so future Bundler Dependabot PRs request review from the tooling team via path-based ownership.

Changes:

  • Removed the deprecated/no-op reviewers configuration from .github/dependabot.yml.
  • Added .github/CODEOWNERS entries to route Ruby tooling/dependency file changes to @wordpress-mobile/apps-infra-tooling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/dependabot.yml Removes deprecated reviewers key so configuration reflects current Dependabot behavior.
.github/CODEOWNERS Adds ownership rules for Ruby tooling files so review requests are driven by CODEOWNERS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mokagio
mokagio enabled auto-merge June 2, 2026 07:31
@mokagio
mokagio requested a review from a team June 2, 2026 07:31
@mokagio
mokagio merged commit 2e35216 into trunk Jun 2, 2026
7 checks passed
@mokagio
mokagio deleted the mokagio/ainfra-2437-dependabot-codeowners branch June 2, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants