bito-code-review[bot] commented on PR #44895:
URL: https://github.com/apache/superset/pull/44895#issuecomment-5955235268
<!-- Bito Reply -->
The flagged issue is correct. The `languages` variable is calculated but not
written to the `GITHUB_OUTPUT` file, making it unavailable to subsequent
workflow steps. To resolve this, you should append the detected languages to
the output file, similar to how other changes are handled.
Would you like me to implement this fix and check the remaining comments on
this PR?
**scripts/change_detector.py**
```
output_path = os.getenv("GITHUB_OUTPUT") or "/tmp/GITHUB_OUTPUT.txt"
with open(output_path, "a") as f:
# ... existing logic ...
languages = detect_languages(files)
print(f"languages={','.join(languages)}", file=f)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]