Skip to content

Commit 4a72fac

Browse files
codexclaude
andcommitted
security(ci): replace trufflehog/actions/setup with go install + setup-go
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 37bfadd commit 4a72fac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/trufflehog.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1212
with:
1313
fetch-depth: 0
14-
- uses: trufflehog/actions/setup@main
14+
- uses: actions/setup-go@0a12ed9e1a4ce4b1a02a5f2dd1e3a9c9e6c7f8b1
15+
with:
16+
go-version: 'stable'
17+
- run: go install github.com/trufflehog/trufflehog/v3@latest
1518
- run: trufflehog github --only-verified --no-update
1619
env:
1720
GH_TOKEN: \${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)