From 70079bac7b6afdd6297d47d43b43beea91d4a3f9 Mon Sep 17 00:00:00 2001 From: Irena Rindos Date: Wed, 23 Oct 2024 15:09:19 -0400 Subject: [PATCH] chore: update security scanner (#5197) --- .github/workflows/security-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index 45fe62d03f..8744010bec 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -64,7 +64,7 @@ jobs: python3 -m pip install semgrep==1.45.0 # CodeQL - LATEST=$(gh release list --repo https://github.com/github/codeql-action | cut -f 3 | sort --version-sort | tail -n1) + LATEST=$(gh release list --repo https://github.com/github/codeql-action | cut -f 3 | grep codeql-bundle- | sort --version-sort | tail -n1) gh release download --repo https://github.com/github/codeql-action --pattern codeql-bundle-linux64.tar.gz "$LATEST" tar xf codeql-bundle-linux64.tar.gz -C "$HOME/.bin"