From 9c54bfce1bf41dbdbe455b3df68ecd9d533e65db Mon Sep 17 00:00:00 2001 From: theCyberTech <84775494+theCyberTech@users.noreply.github.com> Date: Wed, 24 Sep 2025 00:21:31 +0800 Subject: [PATCH] Update CodeQL workflow to include custom config file This commit adds a reference to a custom CodeQL configuration file (.github/codeql-config.yml) in the GitHub Actions workflow for CodeQL analysis. This enhancement allows for more tailored queries and analysis settings during the code scanning process. --- .github/codeql-config.yml | 3 +++ .github/workflows/codeql.yml | 1 + 2 files changed, 4 insertions(+) create mode 100644 .github/codeql-config.yml diff --git a/.github/codeql-config.yml b/.github/codeql-config.yml new file mode 100644 index 000000000..d538a08e2 --- /dev/null +++ b/.github/codeql-config.yml @@ -0,0 +1,3 @@ +name: "CodeQL config" +paths-ignore: + - src/crewai/cli/templates/** diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b2bd0d883..2e378107a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -73,6 +73,7 @@ jobs: with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} + config-file: .github/codeql-config.yml # If you wish to specify custom queries, you can do so here or in a config file. # 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.