fix(ci): replace gitleaks-action with free CLI to fix expired license#2254
Merged
imran-siddique merged 1 commit intoMay 14, 2026
Merged
Conversation
The gitleaks GitHub Action requires a paid GITLEAKS_LICENSE secret for org repos. The secret expired, breaking Secret Scanning on all PRs. Switch to installing the gitleaks CLI directly (MIT-licensed, free) and running it as a shell step. Also moves PR SHA interpolation to env vars to avoid workflow injection (consistent with prior hardening). Co-authored-by: Copilot <[email protected]> Signed-off-by: Imran Siddique <[email protected]>
🤖 AI Agent: security-scanner — View detailsNo security issues found. |
🤖 AI Agent: docs-sync-checker — Docs SyncDocs SyncDocumentation is in sync. |
🤖 AI Agent: test-generator — View detailsTest coverage looks good. No gaps identified. |
🤖 AI Agent: breaking-change-detector — View detailsNo breaking changes detected. |
🤖 AI Agent: code-reviewer — View detailsTL;DR: 0 blockers, 1 warning. The PR resolves the expired license issue effectively, but the gitleaks CLI version pinning could use improvement.
Action items: None. Warnings:
|
PR Review Summary
Verdict: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The gitleaks GitHub Action requires a paid GITLEAKS_LICENSE secret for org repos. The secret expired, breaking Secret Scanning on all PRs.
Fix: Replace the gitleaks-action with a direct install of the gitleaks CLI (MIT-licensed, free). Also moves PR SHA interpolation into env vars to stay consistent with prior workflow injection hardening.
Unblocks PR #2240 and all other PRs currently failing on Secret Scanning.