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

Exclamation (breaking change) is not recognized #73

Closed
binarylogic opened this issue Oct 16, 2019 · 12 comments · Fixed by #75
Closed

Exclamation (breaking change) is not recognized #73

binarylogic opened this issue Oct 16, 2019 · 12 comments · Fixed by #75

Comments

@binarylogic
Copy link

PR titles following the ! BREAKING CHANGE syntax are not recognized as valid. For example, we have a PR title like so:

fix(config)!: ...

This does not pass validation (the PR check remains pending) even though it is valid according to the spec:

BREAKING CHANGE: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope

The actual PR being referenced is vectordotdev/vector#1033.

@zeke
Copy link
Owner

zeke commented Nov 6, 2019

Thanks for opening this issue, and sorry for the delay getting back to you.

This app uses the parse-commit-message npm package to validate commits. I think the ! support needs to be added there.

cc @tunnckoCore (author of parse-commit-message) does that sound right?

@tunnckoCore
Copy link

tunnckoCore commented Nov 6, 2019

Uh, yea, I forgot about that. I can update probably these days or at the weekend.
I'll also migrate it to https://github.com/tunnckocore/opensource.

@binarylogic
Copy link
Author

Thanks @tunnckoCore, that would be helpful.

@tunnckoCore
Copy link

tunnckoCore commented Nov 21, 2019

Oh, damn me, sorry... how time flies. I'm on it this night! :)
Expect release tomorrow, maximum 24-36h.

btw, @zeke, what you think about tunnckoCore/opensource#60. Just share some thoughts :)
It (probably) won't apply for the upcoming release anyway, I'm just collecting thoughts.

@tunnckoCore
Copy link

Okay, i've done a lot of things and wanted to release v4 release. But will go with the simple one (with just adding the ! to the regex) and a patch version to resolve these issues.

@tunnckoCore
Copy link

@zeke please use 4.0.0-alpha.12 / the next dist-tag. For now.

@zeke
Copy link
Owner

zeke commented Nov 23, 2019

I opened PR #75 using 4.0.0-alpha.12 but some tests are failing now: https://travis-ci.org/zeke/semantic-pull-requests/builds/616072483

@zeke zeke closed this as completed in #75 Nov 25, 2019
@zeke
Copy link
Owner

zeke commented Nov 25, 2019

This should be auto-deployed momentarily. @binarylogic let us know how it goes!

@binarylogic
Copy link
Author

Thank you!

@binarylogic
Copy link
Author

@zeke we're still seeing this problem :( Is there anything we need to do to update? For example:

vectordotdev/vector#1404

@tunnckoCore
Copy link

@zeke we're still seeing this problem :( Is there anything we need to do to update? For example:

timberio/vector#1404

probably because the space in scope? try that, if not... I can't help now.

@zeke
Copy link
Owner

zeke commented Jan 7, 2020

Looks like the check was green by the time the PR was merged:

Screen Shot 2020-01-07 at 2 46 17 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants