Compare commits

...

4 Commits

Author SHA1 Message Date
Ahrav Dutta 32555f5e87 Call each extra arg on its own. 2023-01-09 16:30:46 -08:00
ahrav f3071aa46a Merge branch 'main' into update-entrypoint-script 2023-01-09 15:46:51 -08:00
Ahrav Dutta ea2de122be update comment. 2023-01-09 15:46:41 -08:00
Ahrav Dutta 83e22d8b16 Update entrypoint. 2023-01-09 12:17:33 -08:00
2 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -32,4 +32,5 @@ runs:
- ${{ inputs.head }}
- --fail
- --no-update
- ${{ inputs.extra_args }}
- ${{each arg in inputs.extra_args.split(' ')}}${{arg}}${{end}}
- ${{ arg }}
+2 -3
View File
@@ -1,5 +1,4 @@
#!/usr/bin/env ash
# `$*` expands the `args` supplied in an `array` individually
# or splits `args` in a string separated by whitespace.
/usr/bin/trufflehog $*
# "$@" should expand all args in an 'array' as they were passed in
/usr/bin/trufflehog "$@"