File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -105,24 +105,24 @@ runs:
105105 shell : bash
106106 run : |
107107 cat > "$RUNNER_TEMP/scanpipe" << 'EOF'
108- # !/usr/bin/env bash
109- set -euo pipefail
110- exec docker run --rm \
111- --network host \
112- --user "$(id -u):$(id -g)" \
113- --cap-drop ALL \
114- --security-opt no-new-privileges \
115- -e SECRET_KEY \
116- -e SCANCODEIO_DB_NAME \
117- -e SCANCODEIO_DB_USER \
118- -e SCANCODEIO_DB_PASSWORD \
119- -e SCANCODEIO_DB_HOST=localhost \
120- -e SCANCODEIO_WORKSPACE_LOCATION \
121- -e HOME=/workspace/.home \
122- -v "$GITHUB_WORKSPACE:/workspace" \
123- " $SCANCODEIO_IMAGE" \
124- scanpipe "$@"
125- EOF
108+ #!/usr/bin/env bash
109+ set -euo pipefail
110+ exec docker run --rm \
111+ --network host \
112+ --user "$(id -u):$(id -g)" \
113+ --cap-drop ALL \
114+ --security-opt no-new-privileges \
115+ -e SECRET_KEY \
116+ -e SCANCODEIO_DB_NAME \
117+ -e SCANCODEIO_DB_USER \
118+ -e SCANCODEIO_DB_PASSWORD \
119+ -e SCANCODEIO_DB_HOST=localhost \
120+ -e SCANCODEIO_WORKSPACE_LOCATION \
121+ -e HOME=/workspace/.home \
122+ -v "$GITHUB_WORKSPACE:/workspace" \
123+ "$SCANCODEIO_IMAGE" \
124+ scanpipe "$@"
125+ EOF
126126 chmod +x "$RUNNER_TEMP/scanpipe"
127127 echo "$RUNNER_TEMP" >> "$GITHUB_PATH"
128128
You can’t perform that action at this time.
0 commit comments