Enhance CI/CD pipeline with code quality, security, and release automation#1204
Enhance CI/CD pipeline with code quality, security, and release automation#1204maheshkumargangula wants to merge 1 commit intodevelopfrom
Conversation
- Code Quality: Add Scalafmt check (via Spotless) as mandatory PR gate,
enforce 80% JaCoCo instruction coverage on all services
- Test Coverage: Add assessment-service and knowlg-service to the test
matrix (both were missing from CI); upload coverage reports as artifacts
- Security: Add OWASP Dependency Check (CVSS>=9 fails build) to PR gate;
add Trivy container image scan (warn mode, continue-on-error) to all 5
service build workflows before image push
- Dependency Management: Add Dependabot config for Maven (weekly, grouped
by library family) and GitHub Actions
- Release Readiness: Add release-drafter with semantic versioning labels
and conventional-commit autolabeler; add release-drafter workflow
- PR Process: Update PR template with correct stack versions (Scala 2.13.12,
Play 3.0.5, Pekko 1.0.3), add Jira ticket field, update checklist
- CODEOWNERS: Add module-level code ownership mapping to team groups
- pom.xml: Add jacoco-maven-plugin check execution (minimum coverage
via ${jacoco.minimum.coverage} property) and Spotless plugin for
Scalafmt integration
- Upgrade actions/setup-java, actions/cache to v4 across all workflows
https://claude.ai/code/session_018wd8d1rrtgeQJnWs4Skv8T
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.Add a .trivyignore file to your project to customize which findings Trivy reports. |
Summary
This PR significantly enhances the CI/CD pipeline with comprehensive code quality checks, security scanning, and automated release management. The changes introduce:
Type of Change
Changes Made
CI/CD Pipeline (
Code-Quality-check.yml)Configuration Files
.scalafmt.conf: New Scala formatting configuration (max 120 columns, semantic versioning rules).github/release-drafter.yml: New release automation with semantic versioning and changelog categorization.github/CODEOWNERS: New file defining team ownership for different modules.github/dependabot.yml: New dependency update automation for Maven and GitHub ActionsDocker Build Workflows
Root POM
PR Template
How Has This Been Tested?
Checklist
Notes
https://claude.ai/code/session_018wd8d1rrtgeQJnWs4Skv8T