Skip to content

Post comment advising squash merge if merge commits are found#609

Open
jponge wants to merge 1 commit intoquarkusio:mainfrom
jponge:feat/comment-about-squash-merges
Open

Post comment advising squash merge if merge commits are found#609
jponge wants to merge 1 commit intoquarkusio:mainfrom
jponge:feat/comment-about-squash-merges

Conversation

@jponge
Copy link
Copy Markdown
Member

@jponge jponge commented Mar 26, 2026

This still reports a failing check when a PR branch contains merge commits, but it reminds maintainers about the possibility to use a squashed commit merge if the repository and branch protection rules allow it.

This still reports a failing check when a PR branch contains merge commits,
but it reminds maintainers about the possibility to use a squashed commit
merge if the repository and branch protection rules allow it.
@jponge jponge force-pushed the feat/comment-about-squash-merges branch from 3ff9d93 to efafe4c Compare March 26, 2026 15:27
@gsmet
Copy link
Copy Markdown
Member

gsmet commented Mar 26, 2026

Squash and merge is not available when doing merge commits IIRC. Has it changed?

@gsmet
Copy link
Copy Markdown
Member

gsmet commented Mar 26, 2026

Also, I would prefer a clean history before merging, and that people make sure the history makes sense.

@jponge
Copy link
Copy Markdown
Member Author

jponge commented Mar 26, 2026

No, we can only do classic merges, squash and merge is not enabled on Quarkus.

But if we were to relax this, the bot could help to warn that while this is not what we want, we can do a squashed merge to enforce a clean history.

I won't push for this to be merged, just know that we could be more lenient.

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