Replace Dependabot reviewers with CODEOWNERS

MSAL

Replaces the removed reviewers option in .github/dependabot.yml with equivalent CODEOWNERS entries. Each reviewer is mapped onto the manifest files Dependabot updates for that package-ecosystem and directory, so ownership stays as narrow as the Dependabot configuration was. Update entries whose package-ecosystem has no known manifests are left untouched.

org.openrewrite.github.ReplaceDependabotReviewersWithCodeowners

Optional

Where to write the migrated reviewers when the repository does not have a CODEOWNERS file yet. Defaults to .github/CODEOWNERS. When a CODEOWNERS file already exists in any of the locations GitHub recognizes, that file is appended to instead and this option is ignored.

mod run . --recipe=org.openrewrite.github.ReplaceDependabotReviewersWithCodeowners

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.