Skip to content

Commit

Permalink
✨ feat: merge msg rule with flag i
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsii committed Dec 8, 2024
1 parent 2cbd8e5 commit 7efe784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/git-guards/src/helpers/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { BranchRules } from 'src/config/load'
export function execMergeMsg(msg: string, extraRules: RegExp[] = []) {
const rules = [
/Merge branch '(.+?)'/i,
/Merge remote-tracking branch '(.+?)'/,
/Merge remote-tracking branch '(.+?)'/i,
...extraRules,
]
for (const rule of rules) {
Expand Down

0 comments on commit 7efe784

Please sign in to comment.