-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2 add additional punctuation #3
Conversation
src/helpers.js
Outdated
@@ -4,12 +4,12 @@ function checkPrBranch(prBranch) { | |||
} | |||
|
|||
function checkPrTitle(prTitle) { | |||
let prTitleRegexp = /^#?\d+\s+.+$/; | |||
let prTitleRegexp = /^#?\d+[:;,/&]?\s+.+$/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I still don't like it. While :
makes perfect sense, I'm not that convinced about other characters. Also, GitHub supports only Fixes: #123
in PR description, so I would opt to only allow the additional colon in PR title to mimic that behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on a weekly - I'm adding only optional colon here.
#3 fix usage of colon in PR title
Fixes #2