Skip to content

CODEOWNERS: Activate hard and soft gates (#632)#703

Open
adamkudrna wants to merge 1 commit intomasterfrom
maintenance/codeowners-take-2
Open

CODEOWNERS: Activate hard and soft gates (#632)#703
adamkudrna wants to merge 1 commit intomasterfrom
maintenance/codeowners-take-2

Conversation

@adamkudrna
Copy link
Copy Markdown
Member

@adamkudrna adamkudrna commented Mar 23, 2026

Moves CODEOWNERS from the repo root to .github/ (the preferred location) and replaces the fully-commented-out file with an active configuration.

Strategy

  • Default: @react-ui-org/maintainers covers everything not explicitly listed — any team member can review.
  • Hard gates: infra/build tooling requires @bedrich-schindler or @mbohal; style tooling require @adamkudrna. No team fallback, so these files cannot be merged without the named reviewer.
  • Soft gates: docs, *.md, and src/styles/ notify @adamkudrna but any maintainer can approve.

The broad per-extension rules (*.js, *.scss) from the original are intentionally omitted. The original config was also broken due to the non-existent @developers team, which should have been @react-ui-org/developers — since replaced by @react-ui-org/maintainers.

Also removes CODEOWNERS from .npmignore since it no longer exists at the root.

Closes #632

Moves CODEOWNERS from the repo root to .github/ and replaces the
fully-commented-out file with an active configuration using
@react-ui-org/maintainers as the default team.
@adamkudrna adamkudrna force-pushed the maintenance/codeowners-take-2 branch from beac5b8 to 2535ed9 Compare March 23, 2026 20:50
@adamkudrna adamkudrna changed the title CODEOWNERS: Activate hard and soft gates CODEOWNERS: Activate hard and soft gates (#632) Mar 23, 2026
/.eslintrc @bedrich-schindler @mbohal

# Styles & style tooling
/src/theme.scss @adamkudrna
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.

I don' t think we can depend on a single person ever. Last time @adamkudrna went for a vacation and we needed the merge critically.

As it is, sooner or later this will lead to disabling the codeowners functionality again.

Would you consider changing the hard gates to soft gates?

(Honestly I don't think we really need it at all in a team so small)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code owners are set to strict that vacation of just one member can result in unability to merge

2 participants