File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ async function main() {
4747
4848 // Get ENV variables
4949 const githubToken = process . env . INPUT_TOKEN ;
50- const enableAnnotations = process . env . INPUT_DISABLE_ANNOTATIONS ;
51- const enableComments = process . env . INPUT_ENABLE_COMMENTS ;
52- const enableJobsSummary = process . env . INPUT_ENABLE_JOBS_SUMMARY ;
50+ let enableAnnotations = process . env . INPUT_DISABLE_ANNOTATIONS ;
51+ let enableComments = process . env . INPUT_ENABLE_COMMENTS ;
52+ let enableJobsSummary = process . env . INPUT_ENABLE_JOBS_SUMMARY ;
5353 const commentsWithQueries = process . env . INPUT_COMMENTS_WITH_QUERIES ;
5454 const excludedColumnsForCommentsWithQueries = process . env . INPUT_EXCLUDED_COLUMNS_FOR_COMMENTS_WITH_QUERIES . split ( ',' ) ;
5555 const outputPath = processOutputPath ( process . env . INPUT_OUTPUT_PATH ) ;
@@ -72,6 +72,10 @@ async function main() {
7272 }
7373 }
7474
75+ enableAnnotations = enableAnnotations ? enableAnnotations : "false"
76+ enableComments = enableComments ? enableComments : "false"
77+ enableJobsSummary = enableJobsSummary ? enableJobsSummary : "false"
78+
7579 const parsedResults = readJSON ( outputPath . resultsJSONFile ) ;
7680 if ( enableAnnotations . toLocaleLowerCase ( ) === "true" ) {
7781 annotator . annotateChangesWithResults ( parsedResults ) ;
You can’t perform that action at this time.
0 commit comments