mirror of
https://github.com/apache/superset.git
synced 2026-06-01 21:59:26 +00:00
fix(ci): trigger python dep check when pyproject.toml changes (#39792)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user