fix(annotations): wrong annotations env variable in js

This commit is contained in:
João Reigota
2022-12-12 11:52:33 +00:00
committed by GitHub
parent 16a144f23b
commit 67e423ccfe
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ jobs:
output_formats: sarif
ignore_on_exit: results
enable_comments: true
enable_annotations: true
enable_jobs_summary: true
comments_with_queries: true
excluded_column_for_comments_with_queries: "description_id,similarity_id,search_line,search_value,cis_description_id,cis_description_title,cis_description_text,cloud_provider"

View File

@ -47,7 +47,7 @@ async function main() {
// Get ENV variables
const githubToken = process.env.INPUT_TOKEN;
let enableAnnotations = process.env.INPUT_DISABLE_ANNOTATIONS;
let enableAnnotations = process.env.INPUT_ENABLE_ANNOTATIONS;
let enableComments = process.env.INPUT_ENABLE_COMMENTS;
let enableJobsSummary = process.env.INPUT_ENABLE_JOBS_SUMMARY;
const commentsWithQueries = process.env.INPUT_COMMENTS_WITH_QUERIES;