chore: add CODEOWNERS so the code-owner review rule has effect - #1
Closed
AndreaSucreG wants to merge 2 commits into
Closed
chore: add CODEOWNERS so the code-owner review rule has effect#1AndreaSucreG wants to merge 2 commits into
AndreaSucreG wants to merge 2 commits into
Conversation
AndreaSucreG
marked this pull request as ready for review
August 3, 2026 13:19
mikirockerful
approved these changes
Aug 5, 2026
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
mainruleset setsrequire_code_owner_review: true, but there was noCODEOWNERS file anywhere (root,
.github/,docs/) — so that rule was silentlya no-op and the protection config overstated what it actually enforced.
This adds
.github/CODEOWNERSmaking @AndreaSucreG the sole owner of*.Every change to the repo therefore needs her approval.
Known consequence: GitHub does not accept an author's own code-ownership as
satisfying the code-owner review requirement. With a single owner and no bypass
actors, PRs opened by @AndreaSucreG cannot be merged — including this one. To
land it, either grant repo-admin bypass on the
mainruleset temporarily, orhave @felixcarpena / @raquelyuste approve it while CODEOWNERS is not yet in
effect on
main(the file only starts applying once merged).🤖 Generated with Claude Code
Note
Low Risk
Repository governance only; no application runtime or data-path changes.
Overview
Adds
.github/CODEOWNERSwith a*rule pointing at @AndreaSucreG, so pull requests are no longer able to satisfy branch protection’s code-owner review requirement with an empty owner list.This closes the gap where
require_code_owner_review: trueonmainhad no effect because no CODEOWNERS file existed. After merge, every change needs an approval from that owner; the PR notes that GitHub won’t count the author’s own review as the required code-owner review when they are the sole owner.Reviewed by Cursor Bugbot for commit f2b7600. Bugbot is set up for automated code reviews on this repo. Configure here.