Skip to content

Commit 6b7b7e9

Browse files
Pin the TruffleHog scanner image by digest (#6677)
1 parent b518dd0 commit 6b7b7e9

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
@@ -12,8 +12,11 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- name: Secret Scanning
15-
uses: trufflesecurity/trufflehog@27b0417c16317ca9a472a9a8092acce143b49c55 # v3.95.9
15+
uses: trufflesecurity/trufflehog@6f3c981e7b77f235fd2702dd74af25fc4b72bf11 # v3.96.0
1616
with:
17+
# the action runs the scanner as a container and defaults to the mutable `:latest` tag, so the SHA above
18+
# pins only the wrapper. pin the image by digest too, and bump it together with the action SHA.
19+
version: 3.96.0@sha256:aa821cf4ace8861c7d096d83818cdf7bb9719028a52d37a52eaad44086a52577
1720
# exclude buggy detectors that cause false positives and are not relevant to our codebase.
1821
# lob matches `(live|test)_[a-zA-Z0-9_]{35}`, which any pytest name of exactly 35 characters after
1922
# `test_` satisfies (e.g. `test_reward_func_wrong_number_of_rewards`).

0 commit comments

Comments
 (0)