fix: do not print the whole environment (#5473)

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.
This commit is contained in:
Marco Ferrari 2024-04-04 11:56:10 +02:00 committed by GitHub
parent 6842e2d3cc
commit 39edf76351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -788,15 +788,6 @@ BuildFileList "${VALIDATE_ALL_CODEBASE}" "${TEST_CASE_RUN}"
##################################### #####################################
RunAdditionalInstalls RunAdditionalInstalls
####################################
# Print ENV before running linters #
####################################
debug "--- ENV (before running linters) ---"
debug "------------------------------------"
debug "ENV:"
debug "$(printenv)"
debug "------------------------------------"
endGitHubActionsLogGroup "${SUPER_LINTER_INITIALIZATION_LOG_GROUP_TITLE}" endGitHubActionsLogGroup "${SUPER_LINTER_INITIALIZATION_LOG_GROUP_TITLE}"
############### ###############