Skip to content

ci: let TruffleHog pick the commit range from the event - #162

Merged
kvinwang merged 1 commit into
mainfrom
ci/trufflehog-event-range
Oct 16, 2026
Merged

kvinwang merged 1 commit into
mainfrom
ci/trufflehog-event-range

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Every push to main has failed Security Scan since July: with base: main and head: HEAD the push run compares main with itself, the TruffleHog action refuses that ("BASE and HEAD commits are the same"), and the Hadolint SARIF upload after it fails for want of a file.

Without explicit inputs the action scans before..after on push, the PR range on pull_request and the whole history on schedule (action.yml).

With `base: main` and `head: HEAD`, every push to main compared main
with itself; the action refuses that ("BASE and HEAD commits are the
same") and fails the job, and the Hadolint upload after it then fails
for want of a SARIF file. Every push to main has been red since July.

Without explicit inputs the action scans before..after on push, the PR
range on pull_request, and the whole history on schedule.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit 5820a51 into main Oct 16, 2026
6 checks passed
@kvinwang
kvinwang deleted the ci/trufflehog-event-range branch October 16, 2026 01:23
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