Skip to content

Commit

Permalink
fix: do not print the whole environment (#5473)
Browse files Browse the repository at this point in the history
Printing the whole environment clutters the log too much. Also, it might
expose sensitive information in the unlikely event that GitHub Actions
don't identify certain output as secrets.
  • Loading branch information
ferrarimarco committed Apr 4, 2024
1 parent 6842e2d commit 39edf76
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -788,15 +788,6 @@ BuildFileList "${VALIDATE_ALL_CODEBASE}" "${TEST_CASE_RUN}"
#####################################
RunAdditionalInstalls

####################################
# Print ENV before running linters #
####################################
debug "--- ENV (before running linters) ---"
debug "------------------------------------"
debug "ENV:"
debug "$(printenv)"
debug "------------------------------------"

endGitHubActionsLogGroup "${SUPER_LINTER_INITIALIZATION_LOG_GROUP_TITLE}"

###############
Expand Down

0 comments on commit 39edf76

Please sign in to comment.