Skip to content

Fix TruffleHog secret scan failing when BASE and HEAD are identical#455

Merged
jamespepper81 merged 3 commits into
mainfrom
dev
Jan 11, 2026
Merged

Fix TruffleHog secret scan failing when BASE and HEAD are identical#455
jamespepper81 merged 3 commits into
mainfrom
dev

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

This pull request updates the TruffleHog secret scanning workflow in .github/workflows/security.yml to improve how secret scans are triggered and handled for different event types. The workflow now runs more targeted scans depending on whether the event is a pull request, push, or scheduled scan.

Improvements to TruffleHog Secret Scanning:

  • Added separate TruffleHog scan steps for pull requests, pushes, and scheduled events, each with event-specific logic for setting the base and head commit SHAs.
  • Ensured that only verified secrets are reported by including the --only-verified flag in all scan steps.

Copilot AI and others added 3 commits January 11, 2026 20:14
Co-authored-by: jamespepper81 <84083764+jamespepper81@users.noreply.github.com>
Fix TruffleHog secret scan failing when BASE and HEAD are identical
@jamespepper81 jamespepper81 merged commit 1d8dc5c into main Jan 11, 2026
12 of 13 checks passed
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