Skip to content

Commit

Permalink
enhancement(tooling): commitlint ignore for github merge
Browse files Browse the repository at this point in the history
  • Loading branch information
innerdvations authored Mar 20, 2024
1 parent 524fab2 commit 6e35247
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .commitlintrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ const config: UserConfig = {
],
],
},
ignores: [
(commitMessage) => {
// add an exception for github
return /^Merge branch '.*' into [a-zA-Z0-9\/\-_]+$/.test(commitMessage);
},
],
};

export default config;

0 comments on commit 6e35247

Please sign in to comment.