Skip to content

Conversation

@Riscky
Copy link

@Riscky Riscky commented Jan 7, 2026

refs #292

This adds a allowPlainMerge setting to the project settings, which defaults to True (the current behavior). If set to False, plain merge commands are not allowed anymore, and instead merge without deploying has to be issued for a merge to go through without tagging or deploying.

@Riscky Riscky marked this pull request as ready for review January 27, 2026 10:31
@Riscky Riscky force-pushed the riscky/always-deploy branch from dc41d7b to 4368b61 Compare January 27, 2026 10:31
@Riscky Riscky requested a review from maartenberg January 27, 2026 10:31
Copy link
Member

@maartenberg maartenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM! I have one usability/DevEx concern:

Comment on lines +253 to +254
pMergeWithoutDeploy :: Parser ApprovedFor
pMergeWithoutDeploy = P.try (pSpace1 *> P.string' "without" *> (MergeWithoutDeploy <$ (pSpace1 *> P.string' "deploying")))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we allow both "merge without deploy" and "merge without deploying" here? I think this would prevent some confusion/irritation, since the normal command is "merge and deploy".

If this isn't easily possible it might be better to make the command "merge without deploying" for consistency with "merge and deploy".

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I suspect that should be easy with the parser

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.

2 participants