From ec0ac65aa19c6c2c903ca4eac3acc70e3972f213 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 1 Mar 2020 15:05:34 +0100 Subject: [PATCH] actions/checkout@v1 # v2 is broken for git diff --- .github/workflows/cpplint_modified_files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpplint_modified_files.yml b/.github/workflows/cpplint_modified_files.yml index fde6f1d53..076a8bb89 100644 --- a/.github/workflows/cpplint_modified_files.yml +++ b/.github/workflows/cpplint_modified_files.yml @@ -17,7 +17,7 @@ jobs: - run: git remote -v - run: git branch - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY - - run: git diff origin/master HEAD --name-only > git_diff.txt + - run: git diff origin/master --name-only > git_diff.txt - name: cpplint_modified_files shell: python run: |