Use markdownMessage

This commit is contained in:
Michael B. Gale 2023-10-05 14:27:34 +01:00
parent 94f3e9b563
commit 235bdca565
No known key found for this signature in database
GPG key ID: FF5E2765BD00628F
3 changed files with 3 additions and 3 deletions

2
lib/analyze-action.js generated
View file

@ -171,7 +171,7 @@ async function run() {
if (goWrapperPath !== goBinaryPath) {
core.warning(`Expected \`which go\` to return ${goWrapperPath}, but got ${goBinaryPath}: please ensure that the correct version of Go is installed before the \`codeql-action/init\` Action is used.`);
(0, diagnostics_1.addDiagnostic)(config, languages_1.Language.go, (0, diagnostics_1.makeDiagnostic)("go/workflow/go-installed-after-codeql-init", "Go was installed after the `codeql-action/init` Action was run", {
plaintextMessage: "To avoid interfering with the CodeQL analysis, perform all installation steps before calling the `github/codeql-action/init` Action.",
markdownMessage: "To avoid interfering with the CodeQL analysis, perform all installation steps before calling the `github/codeql-action/init` Action.",
visibility: {
statusPage: true,
telemetry: true,

File diff suppressed because one or more lines are too long

View file

@ -254,7 +254,7 @@ async function run() {
"go/workflow/go-installed-after-codeql-init",
"Go was installed after the `codeql-action/init` Action was run",
{
plaintextMessage:
markdownMessage:
"To avoid interfering with the CodeQL analysis, perform all installation steps before calling the `github/codeql-action/init` Action.",
visibility: {
statusPage: true,