From 616ad99a458b6434ec0bf037b77e2c3aec1190a9 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 1 Mar 2020 14:06:41 +0100 Subject: [PATCH] run: git diff origin/master --name-only > git_diff.txt --- .github/workflows/cpplint_modified_files.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpplint_modified_files.yml b/.github/workflows/cpplint_modified_files.yml index 130ea6bea..1524d65dc 100644 --- a/.github/workflows/cpplint_modified_files.yml +++ b/.github/workflows/cpplint_modified_files.yml @@ -16,8 +16,8 @@ jobs: - run: python -m pip install cpplint - 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 master --name-only > git_diff.txt + #- run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY + - run: git diff origin/master --name-only > git_diff.txt - name: cpplint_modified_files shell: python run: |