static-tests: increase git diff renameLimit for branch runs

This commit is contained in:
Martine Lenders 2021-01-19 16:54:21 +01:00
parent 039ede48d6
commit 99eaf892e9
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -24,6 +24,8 @@ jobs:
# Note: ${{ github.base_ref }} is empty when not in a PR
if [ -n "${{ github.base_ref }}" ]; then
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }} --no-tags
else
git config diff.renameLimit 16384
fi
git config apply.whitespace nowarn
- name: Fetch riot/riotbuild Docker image