KHARSHAVARDHAN-eng opened a new pull request, #360: URL: https://github.com/apache/hugegraph-computer/pull/360
### Description This PR addresses the recommendations from the **Automation Analysis** report ([#320](https://github.com/apache/hugegraph-computer/issues/320)) by introducing automatic code formatting, test coverage enforcement, PR commit validation, release notes generation, and developer automation documentation. ### Key Changes 1. **Automatic Code Formatting (`computer/pom.xml`)**: - Added `spotless-maven-plugin` (v2.30.0) for automated Java code formatting (`mvn spotless:apply` and `mvn spotless:check`). 2. **Test Coverage Tracking (`computer/pom.xml`)**: - Added `jacoco-maven-plugin` (v0.8.8) with `prepare-agent` and `report` goals to automatically generate test coverage reports during `mvn test`. 3. **Commit & PR Title Validation (`.github/workflows/commit-check.yml`)**: - Added a GitHub Action workflow to validate PR titles against the Conventional Commits specification. 4. **Automated Release Notes (`.github/workflows/release-notes.yml`)**: - Added a GitHub Action workflow to generate release drafts and changelogs automatically when tags (`v*`) are pushed. 5. **Documentation (`docs/automation-guide.md`)**: - Created comprehensive documentation detailing formatting commands, test coverage generation, RAT license checks, and PR contribution guidelines. ### Reference Fixes #320 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
