Skip to content

Commit 67e423c

Browse files
fix(annotations): wrong annotations env variable in js
1 parent 16a144f commit 67e423c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test_action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
output_formats: sarif
2121
ignore_on_exit: results
2222
enable_comments: true
23+
enable_annotations: true
2324
enable_jobs_summary: true
2425
comments_with_queries: true
2526
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"

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function main() {
4747

4848
// Get ENV variables
4949
const githubToken = process.env.INPUT_TOKEN;
50-
let enableAnnotations = process.env.INPUT_DISABLE_ANNOTATIONS;
50+
let enableAnnotations = process.env.INPUT_ENABLE_ANNOTATIONS;
5151
let enableComments = process.env.INPUT_ENABLE_COMMENTS;
5252
let enableJobsSummary = process.env.INPUT_ENABLE_JOBS_SUMMARY;
5353
const commentsWithQueries = process.env.INPUT_COMMENTS_WITH_QUERIES;

0 commit comments

Comments
 (0)