Skip to content

Conversation

@ValentinFrancois
Copy link
Owner

A bit stupid but:

  • When clicking on 'squash & merge', GitHub copies the PR title into the merged commit message, EXCEPT if there was only one commit in the PR.
  • The easiest solution to prevent that (because I based the entire CI on the fact that commits pushed to main should be named after the PR) is for now to add an extra empty commit automatically.
@ValentinFrancois ValentinFrancois merged commit 05a6d98 into main Feb 21, 2022
@ValentinFrancois ValentinFrancois deleted the fix-merge-squash branch February 21, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants