Skip to content

Commit 2e9f98d

Browse files
authored
fix: fix DEFAULT_TRUFFLEHOG_VERSION being ignored (latest version was always installed) (#380)
1 parent 3456883 commit 2e9f98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/internal/plugins/trufflehog/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
- name: Install Trufflehog
3434
shell: bash
3535
run: |
36-
curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/v${TRUFFLEHOG_VERSION}/scripts/install.sh | sh
36+
curl -sSfL https://raw.githubusercontent.com/trufflesecurity/trufflehog/v${TRUFFLEHOG_VERSION}/scripts/install.sh | bash -s -- "v${TRUFFLEHOG_VERSION}"
3737
env:
3838
TRUFFLEHOG_VERSION: ${{ inputs.trufflehog-version }}
3939

0 commit comments

Comments
 (0)