fix(secrets-scan): Docker-free TruffleHog (pinned binary) for nix runners#49
Merged
Jess Sullivan (Jesssullivan) merged 1 commit intoJun 2, 2026
Conversation
trufflesecurity/trufflehog@main is a container action and fails on Docker-less self-hosted runners (the tinyland nix compute pool) with "failed to connect to the docker API at unix:///var/run/docker.sock", taking the secrets-scan lane and its downstream needs: jobs red. Install the pinned trufflehog binary (new optional trufflehog-version input, default 3.95.3) and scan git history directly, mirroring the gitleaks binary install in the same action. gitleaks half and the findings_count output are unchanged. Prep v2.2.0.
6a64ce4 to
868bd7b
Compare
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.
Problem
The
secrets-scancomposite action's TruffleHog step usedtrufflesecurity/trufflehog@main— a Docker container action. On Docker-less self-hosted runners (the tinyland nix compute pool) it fails immediately:That reds the whole
secrets-scanlane and every downstreamneeds: [secrets-scan]job (lint, test) — observed oncanon-megatank-resetPR #24 (check + test showed "skipping").Fix
Install the pinned
trufflehogbinary and scan git history directly — mirroring the gitleaks binary install already in the same action. New optionaltrufflehog-versioninput (default3.95.3). The gitleaks half and thefindings_countoutput are unchanged;--only-verifieddefault +--failsemantics preserved.Validation
just checkgreen locally (internal-refs resolve, gitleaks clean).Releases as v2.2.0 (new optional input → MINOR). Also carries the already-merged, previously-unreleased js-bazel-package changes sitting on
main.