mirror of
https://github.com/securego/gosec.git
synced 2025-01-03 22:52:22 +02:00
37d1af0af3
The GitHub action provide the arguments as a single string to the docker container, so we need to expand them in order for gosec to properly interpret them. Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
8 lines
206 B
Bash
Executable File
8 lines
206 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Expand the arguments into an array of strings. This is requires because the GitHub action
|
|
# provides all arguments concatenated as a single string.
|
|
ARGS=("$@")
|
|
|
|
/bin/gosec ${ARGS[*]}
|