diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-22 01:00:38 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-22 01:00:38 -0700 |
commit | 83717fb353f283ca6141e39f9a4fbb0e9d4e206a (patch) | |
tree | f655344bf31be4674f452d2cbe827162058b09bb | |
parent | 2203ac90903e6c0be018f57c2a67054a7b0a9ab0 (diff) |
test2clang-tidy
-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) |