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

💣 Bug: GitHooks and CommitLint don't match #831

Closed
iyear opened this issue Jul 8, 2022 · 0 comments · Fixed by #832
Closed

💣 Bug: GitHooks and CommitLint don't match #831

iyear opened this issue Jul 8, 2022 · 0 comments · Fixed by #832
Labels
bug Something isn't working

Comments

@iyear
Copy link
Member

iyear commented Jul 8, 2022

What Happened?

When I type the commit message with refactor: xxx, it triggers a githooks error.

Error! The commit message should be structured as follows:
    <type>[optional scope]: <description>
    [optional body]
    [optional footer(s)]
    where "type" can be:  feat fix doc docs chore ci build perf style revert test 
    For details, please refer to  https://www.conventionalcommits.org/en/v1.0.0/#summary 

The type in the commit message does not correspond in the two files.

https://github.com/devstream-io/devstream/blob/main/hack/commitlint.config.js

How to Reproduce?

git commit -m 'refactor: triggers githooks error'

Anything else

I will fix it and please assign me.

DevStream Version

latest

@iyear iyear added the bug Something isn't working label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant