diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2020-10-12 07:18:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-12 07:18:05 +0000 |
| commit | 7f62ff67c8b38d2bacdc63cb28b32827a029ce0a (patch) | |
| tree | aea489fd9556570c0e582a0cdc80c73ee1ce7cdc | |
| parent | e63405f118ebc84b41d75f0f84033eb43a044fd1 (diff) | |
| download | platform_external_cpu_features-7f62ff67c8b38d2bacdc63cb28b32827a029ce0a.tar.gz platform_external_cpu_features-7f62ff67c8b38d2bacdc63cb28b32827a029ce0a.tar.bz2 platform_external_cpu_features-7f62ff67c8b38d2bacdc63cb28b32827a029ce0a.zip | |
Excluding deleted files from clang-format Check
| -rw-r--r-- | .github/workflows/clang_format.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/clang_format.yml b/.github/workflows/clang_format.yml index 510c104..17d1567 100644 --- a/.github/workflows/clang_format.yml +++ b/.github/workflows/clang_format.yml @@ -21,4 +21,4 @@ jobs: run: docker run --rm --init -v $(pwd):/repo linter:latest clang-format --help - name: Check current commit - run: docker run --rm --init -v $(pwd):/repo -w /repo linter:latest sh -c "git diff --name-only FETCH_HEAD | grep '\.c$\|\.h$\|\.cc$' | xargs clang-format --style=file --dry-run --Werror " + run: docker run --rm --init -v $(pwd):/repo -w /repo linter:latest sh -c "git diff --diff-filter=d --name-only FETCH_HEAD | grep '\.c$\|\.h$\|\.cc$' | xargs clang-format --style=file --dry-run --Werror " |
