-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github action to support generic cli command input (#670)
* Update github action to support generic cli command input * revert removal of inputs * echo in entrypoint * test custom docker image * revert docker image reference
- Loading branch information
Jeff Wenzbauer
authored
Aug 1, 2022
1 parent
dc51693
commit 4a3bba7
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#! /usr/bin/env bash | ||
#!/usr/bin/env ash | ||
|
||
args=("$@") | ||
/usr/bin/trufflehog ${args[@]} | ||
# `$*` expands the `args` supplied in an `array` individually | ||
# or splits `args` in a string separated by whitespace. | ||
/usr/bin/trufflehog $* |