Skip to content

Conventional Commits #391

Answered by hollesse
stritti asked this question in Q&A
Jun 6, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @stritti,
I just had a look. There is an easy way to get it working :)
First of all finish all mob branches in your project.
After that I would recommend creating a .mob file in your project root. There you could add the following code, to adjust the mob start and mob next commit message:

MOB_WIP_COMMIT_MESSAGE="¯\_(ツ)_/¯: mob next [ci-skip] [ci skip] [skip ci]"
MOB_START_COMMIT_MESSAGE="¯\_(ツ)_/¯: mob start [ci-skip] [ci skip] [skip ci]"

This code does match the regex and as the WIP commits will be squashed by doing mob done this message with the shrug should never reach the main branch. Please have in mind that you can not use any type, but the shrug emoji is included in the regex.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hollesse
Comment options

@stritti
Comment options

@hollesse
Comment options

Answer selected by hollesse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants