File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,16 +11,12 @@ jobs:
1111 cpplint_modified_files :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v1 # v2 is broken for git diff
1515 - uses : actions/setup-python@v1
1616 - run : python -m pip install cpplint
1717 - run : git remote -v
1818 - run : git branch
19- # - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
20- - run : git diff --diff-filter=am --name-only master HEAD || true
21- - run : git diff --name-only origin/master HEAD || true
22- - run : git diff --name-only upstream/master HEAD || true
23- - run : git diff origin/master HEAD --name-only || true
19+ - run : git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
2420 - run : git diff origin/master HEAD --name-only > git_diff.txt
2521 - name : cpplint_modified_files
2622 shell : python
You can’t perform that action at this time.
0 commit comments