edk2/BaseTools/Plugin/CodeQL/codeqlcli_linux_ext_dep.yaml
Mingjie Shen 927c7b1d81 BaseTools/Plugin/CodeQL: Add CodeQL version update script
Add a maintenance script that updates the CodeQL CLI dependency
YAML files and CodeQlQueries.qls together.

The script refreshes the CLI version, release digests, and cpp query
pack pin from the GitHub release metadata and the corresponding
qlpack.yml in the CodeQL CLI release branch.

Add comments to the CodeQL CLI dependency YAML files that direct
maintainers to use the script for future version updates.

Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2026-07-11 01:26:20 +00:00

35 lines
1.6 KiB
YAML

## @file codeqlcli_linux_ext_dep.yaml
#
# Downloads the Linux CodeQL Command-Line Interface (CLI) application.
#
# This download only supports Linux. In an environment where a platform might build in different operating
# systems, it is recommended to set the scope for the appropriate CodeQL external dependency based on the
# host operating system being used.
#
# ****VERSION UPDATE INSTRUCTIONS****
#
# Use BaseTools/Plugin/CodeQL/CodeQlVersionUpdate.py to update this file,
# the platform-specific CodeQL CLI dependency files, and CodeQlQueries.qls together.
# The script refreshes the CLI version, release digests, and cpp query pack pin.
#
# When updating the CodeQL CLI used here, update the corresponding codeql/cpp-queries version in CodeQlQueries.qls.
# Visit the `qlpack.yml` in the release branch for the CodeQL CLI to get the version to use there. For example, the
# CodeQL CLI 2.18.1 file is https://github.com/github/codeql/blob/codeql-cli-2.18.1/cpp/ql/src/qlpack.yml and the
# pack version there is 1.1.0.
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
"scope": "codeql-linux-ext-dep",
"type": "web",
"name": "codeql_linux_cli",
"source": "https://github.com/github/codeql-cli-binaries/releases/download/v2.25.3/codeql-linux64.zip",
"version": "2.25.3",
"sha256": "db69739e2a480128e1d96d96611129be12ad62a324529754ccdc529b850043a7",
"compression_type": "zip",
"internal_path": "/codeql/",
"flags": ["set_shell_var", ],
"var_name": "STUART_CODEQL_PATH"
}