From c9136af8b6d5a258aa493bc12e2000f07df84229 Mon Sep 17 00:00:00 2001 From: Joe Li Date: Fri, 29 May 2026 21:13:56 -0700 Subject: [PATCH] fix(ci): trigger python dep check when pyproject.toml changes (#39792) Co-authored-by: Claude Sonnet 4.6 Co-authored-by: Evan Rusackas --- scripts/change_detector.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/change_detector.py b/scripts/change_detector.py index 8fda027f855..54ef039faf7 100755 --- a/scripts/change_detector.py +++ b/scripts/change_detector.py @@ -33,6 +33,7 @@ PATTERNS = { r"^setup\.py", r"^pyproject\.toml$", r"^requirements/.+\.txt", + r"^pyproject\.toml", r"^.pylintrc", ], "frontend": [ @@ -156,7 +157,7 @@ def main(event_type: str, sha: str, repo: str) -> None: def get_git_sha() -> str: return os.getenv("GITHUB_SHA") or subprocess.check_output( # noqa: S603 - ["git", "rev-parse", "HEAD"] # noqa: S607 + ["git", "rev-parse", "HEAD"] # noqa: S603, S607 ).strip().decode("utf-8")