]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ci: Exclude the fuzzing/corpus dir from the 'no binary files' check 13749/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 29 Jan 2024 10:28:08 +0000 (11:28 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 29 Jan 2024 10:28:08 +0000 (11:28 +0100)
.github/workflows/codeql-analysis.yml

index 38a0d87b5bbc566d79674909f9eb406b6d74ea75..e7e328b2707b3b213fdf5414fe7688c3ba2c1130 100644 (file)
@@ -276,4 +276,4 @@ jobs:
       uses: actions/checkout@v4
       with:
         fetch-depth: 2
-    - run: if [[ "$(file -i --dereference $(git diff --name-only HEAD^..HEAD) | grep binary | grep -v 'image/' | grep -v 'inode/x-empty' | grep -v 'inode/directory')" != "" ]]; then exit 1; fi
+    - run: if [[ "$(file -i --dereference $(git diff --name-only HEAD^..HEAD -- . :^fuzzing/corpus) | grep binary | grep -v 'image/' | grep -v 'inode/x-empty' | grep -v 'inode/directory')" != "" ]]; then exit 1; fi