diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0194c9393..a501af30e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,6 +23,7 @@ jobs: - name: Run make indent run: > if [ -z "${{github.base_ref}}" ]; then + git fetch --deepen=1 && if ! make indent OPTS=--diff; then exit 1 fi