We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c5540 commit 6206897Copy full SHA for 6206897
1 file changed
.github/workflows/ci.yml
@@ -84,7 +84,9 @@ jobs:
84
run: |
85
set -euo pipefail
86
mkdir -p "$RUNNER_TEMP/osv"
87
- curl -fsSL -o "$RUNNER_TEMP/osv/osv-scanner" \
+ # --proto '=https' --tlsv1.2: enforce HTTPS through redirects too, so a
88
+ # downgrade to http can never serve the binary (satisfies S6506).
89
+ curl --proto '=https' --tlsv1.2 -fsSL -o "$RUNNER_TEMP/osv/osv-scanner" \
90
"https://github.com/google/osv-scanner/releases/download/${OSV_SCANNER_VERSION}/osv-scanner_linux_amd64"
91
chmod +x "$RUNNER_TEMP/osv/osv-scanner"
92
echo "$RUNNER_TEMP/osv" >> "$GITHUB_PATH"
0 commit comments