Skip to content

build: configure Surefire plugin management, harden security CI, and add PR template - #7

Open
YashDoesCode wants to merge 1 commit into
mainfrom
build/surefire-and-ci-hardening
Open

YashDoesCode wants to merge 1 commit into
mainfrom
build/surefire-and-ci-hardening

Conversation

@YashDoesCode

Copy link
Copy Markdown
Owner

Summary

Configures explicit pluginManagement in the root POM for Maven Surefire and Compiler plugins, hardens .github/workflows/security.yml with unconditional Gitleaks scanning and conditional secret handling, and adds a contributor PR template.

Key Changes

  1. Maven Plugin Management:
    • Explicitly configures maven-surefire-plugin (3.5.2) with test includes matching both **/*Test.java and **/*IT.java, preventing integration test classes from being skipped.
    • Configures maven-compiler-plugin (3.13.0) with Java 17 release target and UTF-8 encoding.
  2. Security CI Hardening:
    • Integrates gitleaks/gitleaks-action@v2 to run secret detection on every push and PR without requiring third-party API credentials.
    • Eliminates continue-on-error: true from GitGuardian while gating execution with if: ${{ secrets.GITGUARDIAN_API_KEY != '' }}.
    • Hardens DeepSource step with if: ${{ secrets.DEEPSOURCE_DSN != '' }} and corrects the CLI binary execution path to /home/runner/.local/bin/deepsource.
  3. Pull Request Template:
    • Adds .github/PULL_REQUEST_TEMPLATE.md establishing clear contributor submission standards for problem statement, verification evidence, security considerations, and quality checklists.

Verification

  • mvn verify: BUILD SUCCESS (all tests across the reactor execute and pass, verifying MintExtensionIT inclusion).
  • gitleaks: 0 leaks found.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ad5d9259-38c8-445c-89c9-3799978bff14
Commits

Reviewing files that changed from the base of the PR and between b31a051 and 42705eb.

Files selected for processing: 3

  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/workflows/security.yml
  • pom.xml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@YashDoesCode
YashDoesCode marked this pull request as ready for review November 17, 2026 10:57
Copilot AI balanced review requested due to automatic review settings November 17, 2026 10:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants