UEVE-DLL-2024-2025 / DLL

Cours de techonologies logicielles
https://ueve-dll-2024-2025.github.io/DLL/
MIT License
3 stars 20 forks source link

CI: Add conventional commit checker #19

Closed ObstinateM closed 1 month ago

ObstinateM commented 1 month ago

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:

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.

SMoraisDev commented 1 month ago

On échangera sur cette PR pendant la prochaine séance, ne touche plus a rien stp :)