jedcunningham commented on code in PR #44155:
URL: https://github.com/apache/airflow/pull/44155#discussion_r1847055834
##########
airflow/utils/usage_data_collection.py:
##########
@@ -70,6 +75,26 @@ def _version_is_prerelease(version: str) -> bool:
return parse(version).is_prerelease
+def _is_ci_environ() -> bool:
+ """Return True if running in any known CI environment."""
+ if os.getenv("CI") == "true":
Review Comment:
Should we be flexible for case here too? Or maybe just bail if the `CI` env
var is set at all?
--
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]