Skip to content

Commit

Permalink
fix(annotations): wrong annotations env variable in js
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoReigota1 authored Dec 12, 2022
1 parent 16a144f commit 67e423c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 67e423c

Please sign in to comment.