revert to original entrypoint config (#1219)
Lint / lint (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-detectors (push) Waiting to run
Lint / lint (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-detectors (push) Waiting to run
* revert to original entrypoint config * remove explicit output definition
This commit is contained in:
@@ -17,9 +17,6 @@ inputs:
|
||||
default: ''
|
||||
description: Extra args to be passed to the trufflehog cli.
|
||||
required: false
|
||||
outputs:
|
||||
results:
|
||||
description: 'Trufflehog scan results'
|
||||
branding:
|
||||
icon: "shield"
|
||||
color: "green"
|
||||
|
||||
+1
-2
@@ -3,5 +3,4 @@
|
||||
# Parse the last argument into an array of extra_args.
|
||||
mapfile -t extra_args < <(bash -c "for arg in ${*: -1}; do echo \$arg; done")
|
||||
|
||||
results=$(/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}" | tee /dev/tty)
|
||||
echo "results=$results" >> $GITHUB_OUTPUT
|
||||
/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}"
|
||||
|
||||
Reference in New Issue
Block a user