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

Precommit message rule #99

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Precommit message rule #99

merged 2 commits into from
Jun 20, 2024

Conversation

FranceBe
Copy link
Contributor

Add commitizen to ensure commit name rule on husky precommit rule

How to test

  • Make any change (like delete a work in the README.md)

  • git add

  • git commit -m "wrong commit message"

  • pre-commit hook should block your commit as the commit message does not meet the commitizen convention, you should see

  • retry with a name that match the conventional naming

  • your commit should be created correctly

@FranceBe FranceBe requested a review from joyet-simon June 18, 2024 11:15
@FranceBe FranceBe changed the base branch from main to develop June 18, 2024 11:30
Copy link

sonarcloud bot commented Jun 18, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@joyet-simon joyet-simon merged commit b115c15 into develop Jun 20, 2024
3 checks passed
@joyet-simon joyet-simon deleted the chore/precommit-message-rule branch June 20, 2024 14:16
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.

2 participants