Skip to content

Commit 03b641c

Browse files
authored
fix: only check version dependencies for src paths (#1430)
1 parent f43ef65 commit 03b641c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/check_version_uniqueness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_changed_packages() -> list[str]:
7575
for file_path in result.stdout.strip().split("\n"):
7676
if file_path.startswith("packages/"):
7777
parts = file_path.split("/")
78-
if len(parts) >= 2 and (Path("packages") / parts[1] / "pyproject.toml").exists():
78+
if len(parts) >= 3 and parts[2] == "src" and (Path("packages") / parts[1] / "pyproject.toml").exists():
7979
changed.add(parts[1])
8080
return sorted(changed)
8181

0 commit comments

Comments
 (0)