diff options
Diffstat (limited to '.github/workflows/run-clang-tidy.py')
-rwxr-xr-x | .github/workflows/run-clang-tidy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/run-clang-tidy.py b/.github/workflows/run-clang-tidy.py index 309cef41b..6d2cdd996 100755 --- a/.github/workflows/run-clang-tidy.py +++ b/.github/workflows/run-clang-tidy.py @@ -80,12 +80,13 @@ def report_github_status(repo, token, sha, findings): def main(): - sha = os.environ['GITHUB_SHA'] + sha = os.environ['GITHUB_BASE_REF'] files = get_commit_files(sha) findings = get_findings(files) if 'GITHUB_TOKEN' in os.environ: repo = os.environ['GITHUB_REPOSITORY'] + sha = os.environ['GITHUB_SHA'] token = os.environ['GITHUB_TOKEN'] report_github_status(repo, token, sha, findings) |