From c534f89e931c15df72aef06af7ef2784f266cbcb Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Thu, 13 Mar 2025 13:30:51 -0700 Subject: [PATCH] Code scanning config: Exclude actions test directory These are test cases for the GitHub Actions analysis. Exclude them when running code scanning against this repo, to avoid noisy alerts. Test workflow files in this directory are safe from execution, because Actions only executes workflows that live directly in the .github/workflows top-level directory. `action.yml` files in this directory can in theory be executed as a step in a workflow; for now exclude them. --- .github/codeql/codeql-config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 78c213fe2c1..652e19dd4d0 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -4,6 +4,7 @@ queries: - uses: security-and-quality paths-ignore: + - '/actions/ql/test' - '/cpp/' - '/java/' - '/python/'