From 2cfb53dba02b699fc2d25e9d4b5199c9a13b8834 Mon Sep 17 00:00:00 2001 From: Vahid Nasiri Date: Sun, 1 Oct 2023 19:06:57 +0330 Subject: [PATCH] Disable noisy CodeQL rules --- .github/workflows/codeql/codeql-config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql/codeql-config.yml b/.github/workflows/codeql/codeql-config.yml index 6a57b35..f528f04 100644 --- a/.github/workflows/codeql/codeql-config.yml +++ b/.github/workflows/codeql/codeql-config.yml @@ -2,3 +2,9 @@ name: "Security and Quality" queries: - uses: security-and-quality + +query-filters: + - exclude: + id: cs/useless-if-statement + - exclude: + id: cs/empty-block