Can't set commit message with merge queue #15925
Replies: 17 comments 5 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.
-
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