Feature/commit semantic release #1
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive semantic commit workflow, automated release process, and Docker-based development enhancements. Key changes include adding Git hooks for commit validation, integrating tools like Commitizen and Release Please, and updating CI/CD pipelines to enforce commit standards and automate releases. Additionally, the documentation and Makefile have been updated to reflect these new workflows.
Semantic Commit Workflow
.githooks/commit-msg: Added a Git hook to validate commit messages against the Conventional Commits specification, providing detailed guidance and error messages..githooks/prepare-commit-msg: Enhanced the prepare-commit-msg hook to guide users towards semantic commits and ensure proper formatting.Makefile: Added targets for interactive semantic commits (make commit), commit validation (make validate-commit), and Docker-based workflows. [1] [2]Automated Release Process
.github/workflows/release-please.yml: Introduced a Release Please workflow to automate versioning, changelog generation, and GitHub releases based on semantic commits..release-please-manifest.json: Added a manifest file to track the current project version for automated releases.CI/CD Enhancements
.github/workflows/ci.yml: Added a CI workflow to validate all commits in pull requests against the Conventional Commits format.Docker-Based Development
containers/docker-compose.dev.yml: Added a development tools container with Node.js and npm pre-installed to support semantic commit workflows in Docker.containers/php/Dockerfile: Updated the PHP Dockerfile to include Node.js and npm for commit tools.Documentation Updates
README.mdandSEMANTIC-COMMITS.md: Updated to include detailed instructions for semantic commits, automated releases, and Docker-based workflows, along with troubleshooting tips and examples. [1] [2]