diff --git a/spire-orchestrator/src/main/java/dev/codespire/orchestrator/repository/RepositoryRegistry.java b/spire-orchestrator/src/main/java/dev/codespire/orchestrator/repository/RepositoryRegistry.java index a1787013..7a6f0ba1 100644 --- a/spire-orchestrator/src/main/java/dev/codespire/orchestrator/repository/RepositoryRegistry.java +++ b/spire-orchestrator/src/main/java/dev/codespire/orchestrator/repository/RepositoryRegistry.java @@ -123,7 +123,7 @@ public RepositoryInput normalize(RepositoryInput input) { if (slug.contains("/")) throw new IllegalArgumentException("Repository slug cannot contain a slash"); return new RepositoryInput(input.scmType(), ForgeOrigin.of(input.forgeOrigin()), workspace, slug, input.enabled() == null || input.enabled(), input.reviewerAccountId(), input.factoryAccountId(), - input.reviewerMayApprove() == null || input.reviewerMayApprove()); + input.reviewerMayApprove() != null && input.reviewerMayApprove()); } /** The setting for the saga (ADR-047 ยง4.1); empty when the row is missing, never a default. */