diff --git a/.github/workflows/cpplint_modified_files.yml b/.github/workflows/cpplint_modified_files.yml index 6455b2902..07a32ece9 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 --diff-filter=am --name-only origin/master > git_diff.txt + - run: git diff --diff-filter=dr --name-only origin/master > git_diff.txt - name: cpplint_modified_files shell: python run: |