-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(commitlint): skip task on master #3650
fix(commitlint): skip task on master #3650
Conversation
Hm, maybe it is better to simply disable commit message validation on |
✅ Build karma 2926 completed (commit c076f6b558 by @chrisbottin) |
✅ Build karma 529 completed (commit c076f6b558 by @chrisbottin) |
✅ Build karma 528 completed (commit c076f6b558 by @chrisbottin) |
@devoto13 yes we could do that but do you mean permanently? If we are happy with having no Let me know |
Yes, permanently. If you think about it, the check is not really actionable: one can't revert or fix the commit in |
Yes @devoto13 is right, I like the no-master solution better. @chrisbottin can you do it? |
25e563f
to
61b00de
Compare
✅ Build karma 535 completed (commit 138b283a52 by @chrisbottin) |
✅ Build karma 2932 completed (commit 138b283a52 by @chrisbottin) |
✅ Build karma 534 completed (commit 138b283a52 by @chrisbottin) |
61b00de
to
cd766f4
Compare
✅ Build karma 2933 completed (commit 339ac71f89 by @chrisbottin) |
✅ Build karma 536 completed (commit 339ac71f89 by @chrisbottin) |
✅ Build karma 535 completed (commit 339ac71f89 by @chrisbottin) |
@johnjbarton done as requested. |
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.
Thanks, sorry for the delay lost track of this one.
🎉 This PR is included in version 6.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [6.1.2](karma-runner/karma@v6.1.1...v6.1.2) (2021-03-09) ### Bug Fixes * **commitlint:** skip task on master ([karma-runner#3650](karma-runner#3650)) ([3fc6fda](karma-runner@3fc6fda)) * patch karma to allow loading virtual packages ([karma-runner#3663](karma-runner#3663)) ([5bfcf5f](karma-runner@5bfcf5f))
The rule between master and branch should be different to take the PR reference in consideration when merging.
This PR should be fixing the current build failure on master due to the latest commit message
fix: report launcher process error when exit event is not emitted (#3647)
being more than 72 characters (https://travis-ci.org/github/karma-runner/karma/jobs/757457475).Problem
The problem is that the same
header-max-length
rule is applied to master and the PR branches and when a PR branch is merged the commit message has the PR reference appended to it making the length longer and potentially breaking thecommitlint
on masterProposed Solution
Using different
header-max-length
rules for master and branches.header-max-length
rule on master set to 80 characters to temporary fix the build on master and then submit another PR to set the header-max-length rule on master set to 72 characters.header-max-length
rule on branches set to 64 characters (72 - 8 characters for the PR reference)