Skip to content

Add opt-in quality gate enforcement to CI scans - #5

Merged
Chhinna merged 3 commits into
mainfrom
Chhinna/94pp8
Nov 6, 2026
Merged

Chhinna merged 3 commits into
mainfrom
Chhinna/94pp8

Conversation

@Chhinna

@Chhinna Chhinna commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Full-repository scans currently leave the Actions step green even when CodeAnt returns a failed quality-gate verdict, because the action never enables the scanner's enforcement flag.

Add quality_gate: 'true' to forward the existing --quality-gate flag and propagate the scanner's exit status. The default is 'false', preserving scan-only workflows. Invalid input values fail before analysis starts. Native JSON/SARIF/JUnit reports are still written before a failed verdict exits, so callers can upload them with if: always().

Validation:

The input enforces the backend verdict. It does not add a full-code secrets metric or change backend condition evaluation. README examples pin the implementation revision because v0.0.5 does not contain this input; a new release is needed for a versioned tag.

@codeant-ai

codeant-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt Review Status

✅  Review completed

Status Commit Started (UTC) Finished (UTC)
✅  #a24de Reviewed your PR 11044d3 Nov 06, 2026 · 23:10 23:12

@codeant-ai

codeant-ai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai

codeant-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

View results CodeAnt  CodeAnt Quality Gate Results

Commit 5ac7d931 · Scanned Nov 06, 2026 at 23:32 UTC

✅  Overall Status: PASSED

Quality Gate Status Details
New code coverage ⚪  Not applicable Not applicable — no applicable code changes
Secrets ✅  Passed 0 secrets found
Duplicate code ✅  Passed 0.0% duplicated

@codeant-ai

codeant-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

View results CodeAnt  CodeAnt Coverage Report

Commit 5ac7d931 · Scanned Nov 06, 2026 at 23:32 UTC

⚪  Overall Status: Not applicable

Coverage Status Details
New Code Coverage ⚪  Not applicable Not applicable — no applicable code changes

@codeant-ai codeant-ai Bot added the size:L This PR changes 100-499 lines, ignoring generated files label Nov 6, 2026
@codeant-ai

codeant-ai Bot commented Nov 6, 2026

Copy link
Copy Markdown

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: 11044d3bba71

@Chhinna Chhinna reopened this Nov 6, 2026
@Chhinna
Chhinna merged commit e617ef8 into main Nov 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant