Description: This pull request adds a new job to the existing GitHub Actions workflow to ensure that all commits follow the "Conventional Commit" format. The commit types are dynamically loaded from a commit_type.json file, allowing for easy customization and future scalability.
Main Changes:
Added a new job to the existing GitHub Actions workflow to check commit messages.
Integrated a custom python script to check commit message.
Commit types are loaded from a commit_type.json file, making it easier to update and manage allowed types.
Linked Issue: #6
Testing:
The new job was tested to ensure proper validation of commit messages and correct loading of commit types from commit_type.json.
If a commit doesn't comply with the specified format, the workflow will fail, and an error message will be returned. (see test/failing branch)
Instructions:
After this PR is merged, contributors must ensure that their commits follow the "Conventional Commit" format, with types as defined in commit_type.json. Non-compliant commits will result in PR failure during validation.
Contributor: Mathis Beauville
Description: This pull request adds a new job to the existing GitHub Actions workflow to ensure that all commits follow the "Conventional Commit" format. The commit types are dynamically loaded from a
commit_type.json
file, allowing for easy customization and future scalability.Main Changes:
commit_type.json
file, making it easier to update and manage allowed types.Linked Issue: #6
Testing:
The new job was tested to ensure proper validation of commit messages and correct loading of commit types from commit_type.json. If a commit doesn't comply with the specified format, the workflow will fail, and an error message will be returned. (see
test/failing
branch)Instructions:
After this PR is merged, contributors must ensure that their commits follow the "Conventional Commit" format, with types as defined in
commit_type.json
. Non-compliant commits will result in PR failure during validation.