From ef55170c6bf2714c54b24af0b9929f73cbb5fb0e Mon Sep 17 00:00:00 2001 From: Juanjo Alvarez Date: Thu, 13 Jun 2024 11:50:20 +0200 Subject: [PATCH] try with a codeql config file Signed-off-by: Juanjo Alvarez --- .github/workflows/codeql-analysis.yml | 3 +-- .github/workflows/codeql-config.yml | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/codeql-config.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1a006504c6c..f26c8a4fc4d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -8,8 +8,6 @@ on: # The branches below must be a subset of the branches above branches: - main - paths-ignore: - - 'tests/appsec/iast_packages/packages/*.py' jobs: analyze: @@ -38,6 +36,7 @@ jobs: # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main + config-file: ./.github/workflows/codeql-config.yml - name: Autobuild uses: github/codeql-action/autobuild@v2 diff --git a/.github/workflows/codeql-config.yml b/.github/workflows/codeql-config.yml new file mode 100644 index 00000000000..ce7ae500c98 --- /dev/null +++ b/.github/workflows/codeql-config.yml @@ -0,0 +1,2 @@ +paths-ignore: + - 'tests/appsec/iast_packages/packages/*.py'