Can't set commit message with merge queue #15925
Replies: 26 comments 6 replies
-
|
This is preventing our org from adopting the merge queue which is an otherwise great feature as we use squash and merge and this makes really awful commit messages without being able to reword them. |
Beta Was this translation helpful? Give feedback.
-
|
We also would really want a merge queue with the ability to reword the commit message. Pretty important feature for us, and gitlab supports this. We're looking into switching gitlab for this feature alone. |
Beta Was this translation helpful? Give feedback.
-
|
Just to add another voice to the list of people / organisations asking for feature please 🥺 |
Beta Was this translation helpful? Give feedback.
-
|
I was routed here after a filing a bug about not being able edit a commit message before adding a PR in a merge queue. I hit precisely the issue Seth hit above with [skip ci] in one of multiple commits in a feature branch. This is not a cosmetic problem, it blocked our merge queue and release process while we had to troubleshoot the pipeline. Further, it's a regression from existing merge functionality. |
Beta Was this translation helpful? Give feedback.
-
|
Our engineering team would also like to retain the "edit message" functionality when merging via merge queues. |
Beta Was this translation helpful? Give feedback.
-
|
I found out there is a bit of a work around where you can now change the default commit message to just |
Beta Was this translation helpful? Give feedback.
-
|
That is great as a partial solution, but setting the commit message is still missing. |
Beta Was this translation helpful? Give feedback.
-
|
So what is the default commit message, why using merge queue? I do not understand the point of allowing users to manually re-write commit messages. We are running commitlint in a CI to ensure that each commit meets the conventional commits format. And I do not want GitHub to display a window where users can then re-write the approved by commitlint message into something else. This can lead to a message not meeting the format if users by mistake do some typo. |
Beta Was this translation helpful? Give feedback.
-
|
Our engineering team at Teleport would also like to have this feature. As a workaround for my own PRs, once I'm ready to add the PR to the merge queue I squash my branch's commits myself and force push the branch. A major disadvantage of this is that it triggers a pointless CI run, costing us more $$$ for GHA. I try to at least add Another disadvantage is that if I don't remember to squash things before merging, my merge commit can contain a bunch of busywork commits like "fix test", "address feedback from ...", etc. Same for my coworkers. Merge queue is great, but I really miss being able to reword my commit message in github before squash/merge. |
Beta Was this translation helpful? Give feedback.
-
|
I would also really like to see this feature. In my opinion, one of the great things about setting a repo to "squash and merge" is I don't have to worry about what the commit messages and history look like in a branch that's being worked on -- I can just clean it up in one go at the end. Losing that is enough of a drawback I'll probably disable merge queue. |
Beta Was this translation helpful? Give feedback.
-
|
Our team at https://transport.data.gouv.fr is also quite annoyed by this. Any PR with [skip ci] at any point of the history, merged via a squash-merge (which is more readable on the Either the ability to edit the message, or to only take We would like to save some CPU cycles on highly iterative branches. |
Beta Was this translation helpful? Give feedback.
-
|
The Contrast Security team providing our upvote on this request as well. |
Beta Was this translation helpful? Give feedback.
-
|
Giving this some traction. The ability to reword and add a detailed commit message even when using the merge queue is important for us. |
Beta Was this translation helpful? Give feedback.
-
|
Just a funny observation here, this functionality is available through GH mobile app but not through web. It'd be nice to have it on web. |
Beta Was this translation helpful? Give feedback.
-
|
Our FieldWorks project would be using merge queues if this was possible, additionally we would like to be able to put restriction rules in place on this message and also on squash and merge commit messages. |
Beta Was this translation helpful? Give feedback.
-
|
What is even more weird is that it seems to take the initial PR title. When you update your PR title and then add to merge queue it takes the first one |
Beta Was this translation helpful? Give feedback.
-
|
Just to pile on, I would really like this feature. It is significantly degrading our repository's commit message quality. |
Beta Was this translation helpful? Give feedback.
-
|
Our team would also very much appreciate this. The readability of the commit messages has gone way down since we adopted the merge queue over the individual squash and merge option. Devs are either forced to live with the excessive verbosity now being forced on us or must proactively combine individually meaningful commits that would otherwise be preserved in the PR for historical sake but do not need to be mentioned in the final commit message. |
Beta Was this translation helpful? Give feedback.
-
|
Actually, this feature may be a show-stopper requirement for using conventional commits on main. We evaluate to use conventional commits so we can derive release notes etc. from git history already. However, to make the transition reality in an ongoing project, we have to use a GitHub Action that checks the message as part of the merge queue, and bumps out those PRs which do not meet the requirement. Without being able to edit the commit message before sending the PR to the queue, this will be a lot harder... |
Beta Was this translation helpful? Give feedback.
-
|
This is also an issue for me. I generally take the time to write high quality multi-line commit messages that give high-level descriptions of the changes being made. A repo I contribute to recently switched to merge queues. Those commit messages now are being lost. The commit quality of this repo in general has subsequently decreased because all I see in the commit logs are 1-line commit messages with no further explanatory text in the commit message. |
Beta Was this translation helpful? Give feedback.
-
|
Please, GitHub! Readability of commit history is the most basic thing to account for, and the Merge Queue is undermining it... |
Beta Was this translation helpful? Give feedback.
-
|
This is reason enough to never use merge queues. It can make the a repo's history nearly undecipherable and unsearchable from CLI |
Beta Was this translation helpful? Give feedback.
-
|
Same case here! We really need this feature in our ORG in order to apply conventional commit to our git history. |
Beta Was this translation helpful? Give feedback.
-
|
Adding a related request: we should also be able to specify the author email address along with the commit message. As-is, Merge Queue commits always use the committer default address. And/or implement https://github.com/orgs/community/discussions/4168. |
Beta Was this translation helpful? Give feedback.
-
|
This missing feature is also a show stopper for https://github.com/SigmaHQ/sigma to adapting merge queues. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @ghostinhershell, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beyond an annoyance, this means merge queues can't be used with any PR that had a
[ci skip]commit anywhere on the branch, as it gets copied into the auto generated merge commit message.Beta Was this translation helpful? Give feedback.
All reactions