Fixing the push case (#132)

Quick fix

I'm assuming we're operating under the LLVM developer policies which allow no-review for obvious fixes...
This commit is contained in:
John Demme 2020-10-08 16:15:52 -07:00 committed by GitHub
parent 2db18341c5
commit e3500b04ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -91,8 +91,9 @@ jobs:
fi
echo "DIFF_COMMIT=$DIFF_COMMIT" >> $GITHUB_ENV
- name: git fetch base commit
continue-on-error: true
run: |
git fetch origin $DIFF_COMMIT
[[ ! "$DIFF_COMMIT" == *"HEAD"* ]] && git fetch origin $DIFF_COMMIT
- name: clang-format
if: ${{ always() }}
run: |