Add Gitleaks scan job to CI, wired to org-required license key - #21
Merged
Conversation
Co-authored-by: VrilLabs <271641621+VrilLabs@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
VrilLabs
August 16, 2026 06:27
View session
VrilLabs
marked this pull request as ready for review
August 16, 2026 06:27
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated Gitleaks secret-scanning job to the existing CI workflow, wiring in the org-required license secret so the action can run in this repository.
Changes:
- Add a new
gitleaksjob usinggitleaks/gitleaks-actionpinned by SHA. - Fetch full git history (
fetch-depth: 0) for Gitleaks scanning. - Map repository secret
GITLEAKS_KEYtoGITLEAKS_LICENSEand grantpull-requests: writeso the action can comment on PRs.
馃挕 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: VrilLabs <271641621+VrilLabs@users.noreply.github.com>
VrilLabs
approved these changes
Aug 16, 2026
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.
Gitleaks.io requires a license key for organization-owned repositories.
GITLEAKS_KEYwas already added as a repository secret, but no workflow consumed it.CI workflow (
.github/workflows/ci.yml)gitleaksjob runninggitleaks/gitleaks-action(pinned tov2SHA)fetch-depth: 0so gitleaks can scan full git history, not just the latest commitGITLEAKS_KEYsecret to theGITLEAKS_LICENSEenv var the action expectspull-requests: writeat the job level so gitleaks-action can post PR review comments on detected leaksThis runs alongside the existing TruffleHog
securityjob rather than replacing it, giving two independent secret-scanning signals.