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.
This commit is contained in:
theCyberTech
2025-09-24 00:21:31 +08:00
parent 2c80ac6283
commit 9c54bfce1b
2 changed files with 4 additions and 0 deletions

3
.github/codeql-config.yml vendored Normal file
View File

@@ -0,0 +1,3 @@
name: "CodeQL config"
paths-ignore:
- src/crewai/cli/templates/**

View File

@@ -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.