Skip to content

fix: allow merge branch messages without 'into' - #7

Merged
srajasimman merged 1 commit into
mainfrom
fix/merge-branch-without-into
Sep 29, 2026
Merged

srajasimman merged 1 commit into
mainfrom
fix/merge-branch-without-into

Conversation

@srajasimman

Copy link
Copy Markdown
Owner

Problem

Git omits into <branch> when merging into the default branch, e.g. Merge branch 'x'. The merge-branch pattern still required it, so these messages were rejected. This was the last commit of #6, which was merged before it was pushed.

Fix

Make into <branch> optional in the merge-branch pattern, alongside the already-optional of <repo>.

Verification

Ran the default pattern against sample messages: Merge branch 'x', ... of a/b, ... into f/x and ... of a/b into f/x pass; unquoted branch, dangling into and trailing junk still fail. The action itself and any test suite were not run.

@srajasimman
srajasimman merged commit be1430a into main Sep 29, 2026
2 checks passed
@srajasimman
srajasimman deleted the fix/merge-branch-without-into branch September 29, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant