File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
33set -ex
44
5- # BASE_COMMIT=$(git rev-parse $TRAVIS_BRANCH)
5+ BASE_COMMIT=$( git rev-parse $TRAVIS_BRANCH )
66echo " Running clang-format against branch $TRAVIS_BRANCH , with hash $BASE_COMMIT "
77COMMIT_FILES=$( git diff --name-only $BASE_COMMIT | grep -i -v LinkDef)
88RESULT_OUTPUT=" $( git-clang-format --commit $BASE_COMMIT --diff --binary ` which clang-format` $COMMIT_FILES ) "
Original file line number Diff line number Diff line change 1212 env :
1313 TRAVIS_BRANCH : ${{ github.base_ref }}
1414 TRAVIS_PULL_REQUEST_BRANCH : ${{ github.head_ref }}
15- BASE_COMMIT : ${{ github.event.pull_request.base.sha }}
15+ # BASE_COMMIT: ${{ github.event.pull_request.base.sha }}
1616 steps :
1717 - uses : actions/checkout@v2
1818 - name : Fetch base_ref HEAD
You can’t perform that action at this time.
0 commit comments