Reference GHES 3.20 in the comment, not 3.19.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mario Campos
2025-11-04 12:00:11 -06:00
committed by GitHub
parent c443dff433
commit 9366f80399

View File

@@ -1129,9 +1129,9 @@ export function checkActionVersion(
) {
// Only error for versions of GHES that are compatible with CodeQL Action version 4.
//
// GHES 3.19 shipped without the v4 tag, but it also shipped without this warning message code.
// Therefore, users who are seeing this warning message code have pulled in a new version of the
// Action, and with it the v4 tag.
// GHES 3.20 is the first version to ship with the v4 tag and this warning message code.
// Therefore, users who are seeing this warning message code are running on GHES 3.20 or newer,
// and should update to CodeQL Action v4.
if (
githubVersion.type === GitHubVariant.DOTCOM ||
githubVersion.type === GitHubVariant.GHE_DOTCOM ||