Skip to content

fix(ci): pin gitleaks-action to v1 β€” v2 requires paid license#4075

Merged
aegis-gh-agent[bot] merged 1 commit into
developfrom
fix/gitleaks-pin-v1
May 23, 2026
Merged

fix(ci): pin gitleaks-action to v1 β€” v2 requires paid license#4075
aegis-gh-agent[bot] merged 1 commit into
developfrom
fix/gitleaks-pin-v1

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

Problem

Security Scan CI on develop is RED β€” gitleaks/gitleaks-action@v2 now requires a paid license stored as GITLEAKS_LICENSE GitHub secret.

Error:

πŸ›‘ missing gitleaks license. Go grab one at gitleaks.io and store it as a GitHub Secret named GITLEAKS_LICENSE.

Fix

Pin gitleaks-action to v1 which remains free for open-source use.

Alternative

Add GITLEAKS_LICENSE org/repo secret (requires admin access) and unpin back to v2.

Impact

  • Zero code changes β€” workflow config only
  • Restores Security Scan CI to green
  • No change to scanning behavior (v1 still detects secrets, respects .gitleaks.toml)

Test

  • Will verify CI passes after merge

gitleaks-action v2 now requires a GITLEAKS_LICENSE GitHub secret (paid).
Pin to v1 which remains free for open-source repos.

Alternative: add GITLEAKS_LICENSE org/repo secret and unpin.

Refs: #3018 context, CI escalation 2026-05-23
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent Bot left a comment

Choose a reason for hiding this comment

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

βœ… Approved. Clean workflow pin β€” gitleaks-action v2 requiring a paid license is a legitimate CI breaker. Pinning to v1 is the right fix. Trivy + GitGuardian provide redundant secret scanning coverage. Good TODO for future evaluation. All CI green, targets develop.

@aegis-gh-agent aegis-gh-agent Bot merged commit 93f6e2b into develop May 23, 2026
18 checks passed
@aegis-gh-agent aegis-gh-agent Bot deleted the fix/gitleaks-pin-v1 branch May 23, 2026 07:33
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.

1 participant