Polish deprecation wording

This commit is contained in:
Henry Mercer 2023-07-07 13:05:52 +01:00
parent 05cb00cb77
commit e1913859f3
4 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
## [UNRELEASED] ## [UNRELEASED]
- This is the last release of the Action that supports CodeQL CLI versions 2.8.5 to 2.9.3. These versions of the CodeQL CLI were deprecated on June 20, 2023 alongside GitHub Enterprise Server 3.5 and will not be supported by the next release of the CodeQL Action (2.21.0). - This is the last release of the Action that supports CodeQL CLI versions 2.8.5 to 2.9.3. These versions of the CodeQL CLI were deprecated on June 20, 2023 alongside GitHub Enterprise Server 3.5 and will not be supported by the next release of the CodeQL Action (2.21.0).
- If you are using one of these versions, please update to a newer version of the CodeQL CLI (minimum 2.9.4). For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove it to use the default version. - If you are using one of these versions, please update to CodeQL CLI version 2.9.4 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.
- Alternatively, if you want to continue using a version of the CodeQL CLI between 2.8.5 and 2.9.3, you can replace 'github/codeql-action/*@v2' by 'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue using this version of the CodeQL Action. - Alternatively, if you want to continue using a version of the CodeQL CLI between 2.8.5 and 2.9.3, you can replace 'github/codeql-action/*@v2' by 'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue using this version of the CodeQL Action.
## 2.20.3 - 06 Jul 2023 ## 2.20.3 - 06 Jul 2023

8
lib/codeql.js generated
View file

@ -641,10 +641,10 @@ async function getCodeQLForCmd(cmd, checkVersion) {
!(await util.codeQlVersionAbove(codeql, CODEQL_NEXT_MINIMUM_VERSION))) { !(await util.codeQlVersionAbove(codeql, CODEQL_NEXT_MINIMUM_VERSION))) {
core.warning(`CodeQL CLI version ${await codeql.getVersion()} was deprecated on 2023-06-20 alongside ` + core.warning(`CodeQL CLI version ${await codeql.getVersion()} was deprecated on 2023-06-20 alongside ` +
"GitHub Enterprise Server 3.5 and will not be supported by the next release of the " + "GitHub Enterprise Server 3.5 and will not be supported by the next release of the " +
"CodeQL Action. Please update to a newer version of the CodeQL CLI " + `CodeQL Action. Please update to CodeQL CLI version ${CODEQL_NEXT_MINIMUM_VERSION} or ` +
`(minimum ${CODEQL_NEXT_MINIMUM_VERSION}). For instance, if you have specified a custom ` + "later. For instance, if you have specified a custom version of the CLI using the " +
"version of the CLI using the 'tools' input to the 'init' Action, you can remove it to " + "'tools' input to the 'init' Action, you can remove this input to use the default " +
"use the default version.\n\n" + "version.\n\n" +
"Alternatively, if you want to continue using CodeQL CLI version " + "Alternatively, if you want to continue using CodeQL CLI version " +
`${await codeql.getVersion()}, you can replace 'github/codeql-action/*@v2' by ` + `${await codeql.getVersion()}, you can replace 'github/codeql-action/*@v2' by ` +
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " + "'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +

File diff suppressed because one or more lines are too long

View file

@ -1047,10 +1047,10 @@ export async function getCodeQLForCmd(
core.warning( core.warning(
`CodeQL CLI version ${await codeql.getVersion()} was deprecated on 2023-06-20 alongside ` + `CodeQL CLI version ${await codeql.getVersion()} was deprecated on 2023-06-20 alongside ` +
"GitHub Enterprise Server 3.5 and will not be supported by the next release of the " + "GitHub Enterprise Server 3.5 and will not be supported by the next release of the " +
"CodeQL Action. Please update to a newer version of the CodeQL CLI " + `CodeQL Action. Please update to CodeQL CLI version ${CODEQL_NEXT_MINIMUM_VERSION} or ` +
`(minimum ${CODEQL_NEXT_MINIMUM_VERSION}). For instance, if you have specified a custom ` + "later. For instance, if you have specified a custom version of the CLI using the " +
"version of the CLI using the 'tools' input to the 'init' Action, you can remove it to " + "'tools' input to the 'init' Action, you can remove this input to use the default " +
"use the default version.\n\n" + "version.\n\n" +
"Alternatively, if you want to continue using CodeQL CLI version " + "Alternatively, if you want to continue using CodeQL CLI version " +
`${await codeql.getVersion()}, you can replace 'github/codeql-action/*@v2' by ` + `${await codeql.getVersion()}, you can replace 'github/codeql-action/*@v2' by ` +
"'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " + "'github/codeql-action/*@v2.20.4' in your code scanning workflow to ensure you continue " +