GRM-53: refactor: enforce script separation and document import rules
This commit is contained in:
@@ -154,7 +154,11 @@ def classify_changes(files: list[str]) -> dict[str, list[str]]:
|
||||
|
||||
|
||||
def has_user_facing_changes(base: str, head: str) -> bool:
|
||||
"""Check if any user-facing files changed between base and head."""
|
||||
"""Check if any user-facing files changed between base and head.
|
||||
|
||||
Imported by ``scripts/ci/release.py`` to decide whether a release
|
||||
is needed. This is a cross-CI import that requires ``PYTHONPATH=.``.
|
||||
"""
|
||||
files = get_changed_files(base, head)
|
||||
return any(is_user_facing(f) for f in files)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user