mimaison commented on code in PR #23424:
URL: https://github.com/apache/kafka/pull/23424#discussion_r4669982088
##########
.github/scripts/rat.py:
##########
@@ -66,8 +61,6 @@ def parse_rat_report(fp):
total_approved_licenses = 0
all_unapproved_files = []
- workspace_path = get_env("GITHUB_WORKSPACE")
Review Comment:
We don't use this env anymore but we still check it's set above:
https://github.com/apache/kafka/blob/trunk/.github/scripts/rat.py#L58-L60
##########
.github/scripts/rat.py:
##########
@@ -66,8 +61,6 @@ def parse_rat_report(fp):
total_approved_licenses = 0
all_unapproved_files = []
- workspace_path = get_env("GITHUB_WORKSPACE")
Review Comment:
Also if we don't need this env variable, we should not pass it when we
invoke the script:
https://github.com/apache/kafka/blob/trunk/.github/workflows/build.yml#L164C9-L165
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]