Compare commits

..

2 Commits

Author SHA1 Message Date
Mike Vanbuskirk 6a02151add re-add actions CLI switch to action yml 2023-03-28 14:52:03 -04:00
Mike Vanbuskirk c78d10149b ensure stdout is still provided (#1217) 2023-03-28 11:29:48 -07:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -35,4 +35,5 @@ runs:
- ${{ inputs.head }}
- --fail
- --no-update
- --github-actions
- ${{ inputs.extra_args }}
+1 -1
View File
@@ -3,5 +3,5 @@
# 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[@]}")
results=$(/usr/bin/trufflehog "${@: 1: $#-1}" "${extra_args[@]}" | tee /dev/tty)
echo "results=$results" >> $GITHUB_OUTPUT