mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
CodeQL: Pull the bundle from codeql-action@v1 rather than main. (#4702)
As github/codeql-action by default uses the bundle from the toolcache, make sure that that is considered stable.
This commit is contained in:
committed by
GitHub
parent
54bf98dc42
commit
9e30602178
@@ -7,7 +7,7 @@
|
||||
source $HELPER_SCRIPTS/install.sh
|
||||
|
||||
# Retrieve the name of the CodeQL bundle preferred by the Action (in the format codeql-bundle-YYYYMMDD).
|
||||
codeql_bundle_name="$(curl -sSL https://raw.githubusercontent.com/github/codeql-action/main/src/defaults.json | jq -r .bundleVersion)"
|
||||
codeql_bundle_name="$(curl -sSL https://raw.githubusercontent.com/github/codeql-action/v1/src/defaults.json | jq -r .bundleVersion)"
|
||||
# Convert the bundle name to a version number (0.0.0-YYYYMMDD).
|
||||
codeql_bundle_version="0.0.0-${codeql_bundle_name##*-}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user