Skip to content

Require a maintainer's approval to merge - #3

Merged
davidmckayv merged 1 commit into
mainfrom
add-codeowners
Aug 17, 2026
Merged

Require a maintainer's approval to merge#3
davidmckayv merged 1 commit into
mainfrom
add-codeowners

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

Adds .github/CODEOWNERS so the protection rule on main has owners to require an approval from.

The repository inherits ~30 collaborators from the organisation, around a dozen with write or admin. With main currently requiring 0 approving reviews, any of them could merge their own change with no internal review. That is fine for a private repository two people are building in a weekend, and wrong for a public one.

Merging this first, then raising the branch rule to require one code-owner approval, avoids locking the change out of its own gate.

The repository inherits a collaborator list from the organisation, so about a
dozen people can push and, with no review required, merge their own work. That
is the wrong default for a public repository.

Name the owners explicitly so the protection rule on main has somebody to
demand an approval from.
@davidmckayv
davidmckayv merged commit a950ef5 into main Aug 17, 2026
3 checks passed
@davidmckayv
davidmckayv deleted the add-codeowners branch August 17, 2026 02:48
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.

1 participant