From 022612414d3b42b0ad0e331d21c931c2c0c70d9b Mon Sep 17 00:00:00 2001 From: Shane C Date: Fri, 6 Sep 2024 17:56:43 -0400 Subject: [PATCH] add working directory to entrypoint --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 61a4362..306d61f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/sh curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin -gosec -no-fail -fmt sarif -out output.sarif ./... +gosec -r -no-fail -fmt sarif -out output.sarif "$PWD" /goscan --is-action \ No newline at end of file