[CI][Hotfix] Fix macOS kickoff job (#25377)

This commit is contained in:
Simon Mo 2022-06-01 15:04:17 -07:00 committed by GitHub
parent 961b875ab8
commit b9874f5bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,8 @@ import subprocess
import sys
def list_changed_files(commit_range: str):
# NOTE(simon): do not add type hint here because it's ran using python2 in CI.
def list_changed_files(commit_range):
"""Returns a list of names of files changed in the given commit range.
The function works by opening a subprocess and running git. If an error