-
Notifications
You must be signed in to change notification settings - Fork 825
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
chore: add commitlint and husky #128
chore: add commitlint and husky #128
Conversation
Codecov Report
@@ Coverage Diff @@
## master #128 +/- ##
=======================================
Coverage 98.74% 98.74%
=======================================
Files 29 29
Lines 1915 1915
Branches 221 221
=======================================
Hits 1891 1891
Misses 24 24 |
We still need to have someone who add gitcop (or something equivalent) |
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.
Will this be triggered by the CircleCI build?
No. This will be triggered has a commit-msg hook (when you do commitlint + husky is good to prevent that and avoid roundtrip |
If I don't add commit message in the correct format, at what stage I should expect to see the failure message? Is it when I open the pull request? |
you won't be able to write a commit message if it's not standard , e.g I do |
hmm I see. Do you think we should add this in |
sure @mayurkale22, this is a good idea. |
I'm not a fan of doing this on commit. When committing WIP I generally will defer thinking about the commit message to a later rebase. Any way we can trigger this at the PR stage as mentioned above? |
You can do |
6c35a8a
to
20dc488
Compare
I added |
Change CONTRIBUTING.md Resolves open-telemetry#117 Signed-off-by: Olivier Albertini <[email protected]>
20dc488
to
014c25b
Compare
@draffensperger @rochdev @danielkhan Please approve the PR, if everything looks good. |
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 @OlivierAlbertini for setting this up!
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.
LGTM. Does this apply to rebase as well?
yes
|
Change CONTRIBUTING.md Resolves open-telemetry#117 Signed-off-by: Olivier Albertini <[email protected]>
…oader-8.x chore(deps): update dependency ts-loader to v8
Resolves #117
Signed-off-by: Olivier Albertini [email protected]