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

build: Add plugin to check conventional commit message format #169

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

ManonPolle
Copy link
Contributor

@ManonPolle ManonPolle commented Feb 22, 2023

Changes description

Add commit checker plugin https://github.com/nicolasfara/conventional-commits
It is based on this https://www.conventionalcommits.org/en/v1.0.0/#summary

Examples of success commit
"feat(buttons): Add a new size for buttons"
"fix: Fix all ui tests"

Example of fail commit
"new: Add my new feature" ( not a conventionnal type )
"feat(button): Add a new size for buttons" ( button instead of buttons is not one of our modules)
": New feature" (no type)

Context

Keep a conventional & consistent format in our history.

Checklist

  • x ] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
  • Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
  • Check your code additions will fail neither code linting checks.
  • I have reviewed the submitted code.

@ManonPolle ManonPolle added config 🛠 Related to configuration build 🏗 labels Feb 22, 2023
@ManonPolle ManonPolle requested a review from a team as a code owner February 22, 2023 10:40
@dktbitrise
Copy link

@dktbitrise
Copy link

@sonarcloud
Copy link

sonarcloud bot commented Feb 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dktbitrise
Copy link

@ManonPolle ManonPolle merged commit c473a4c into Decathlon:main Feb 23, 2023
@ManonPolle ManonPolle deleted the build/commit-checker branch February 23, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config 🛠 Related to configuration
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants