You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanna use some if cases in messagePattern params. For example: "chore, fix, feat, refactor"
When all developers commit, they have to write these params in comments. How can i add these params in comment with Regex? Because when i try, i only added $J (Jira Ticket ID) and $M (Message) :(
Message pattern should be like this for me:
"messagePattern": "$J ^(.?(\b(chore|fix|refactor|feat)\b)[^$])$: $M",
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I wanna use some if cases in messagePattern params. For example: "chore, fix, feat, refactor"
When all developers commit, they have to write these params in comments. How can i add these params in comment with Regex? Because when i try, i only added $J (Jira Ticket ID) and $M (Message) :(
Message pattern should be like this for me:
"messagePattern": "$J ^(.?(\b(chore|fix|refactor|feat)\b)[^$])$: $M",
Take care yourself
Beta Was this translation helpful? Give feedback.
All reactions