Skip to content
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

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Conversation

jstrzebonski
Copy link
Contributor

Fixes #2

@jstrzebonski jstrzebonski self-assigned this Sep 22, 2020
src/helpers.js Outdated
@@ -4,12 +4,12 @@ function checkPrBranch(prBranch) {
}

function checkPrTitle(prTitle) {
let prTitleRegexp = /^#?\d+\s+.+$/;
let prTitleRegexp = /^#?\d+[:;,/&]?\s+.+$/;
Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@jstrzebonski jstrzebonski marked this pull request as ready for review September 22, 2020 16:48
@lifflander lifflander merged commit 087ae36 into master Sep 22, 2020
@jstrzebonski jstrzebonski deleted the 2-add-additional-punctuation branch September 22, 2020 19:33
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
jstrzebonski pushed a commit that referenced this pull request Sep 23, 2020
lifflander added a commit that referenced this pull request Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accept optional punctuation separating words from issue numbers
3 participants