Include all lib packages in CodeQL analysis paths (#6815)

lib/cli and lib/crewai-core were missing from the CodeQL config paths.
Also update the templates ignore path to the relocated CLI package.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>
Co-authored-by: Vidit Ostwal <110953813+Vidit-Ostwal@users.noreply.github.com>
This commit is contained in:
Rip&Tear
2026-08-05 17:08:23 +08:00
committed by GitHub
parent fae634070b
commit cfb1ed2226
2 changed files with 7 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ name: "CodeQL Config"
paths-ignore:
# Ignore template files - these are boilerplate code that shouldn't be analyzed
- "lib/crewai/src/crewai/cli/templates/**"
- "lib/cli/src/crewai_cli/templates/**"
# Ignore test cassettes - these are test fixtures/recordings
- "lib/crewai/tests/cassettes/**"
- "lib/crewai-tools/tests/cassettes/**"
@@ -18,12 +18,16 @@ paths:
- ".github/workflows/**"
- ".github/actions/**"
# Include all Python source code from workspace packages
- "lib/cli/src/**"
- "lib/crewai/src/**"
- "lib/crewai-core/src/**"
- "lib/crewai-tools/src/**"
- "lib/crewai-files/src/**"
- "lib/devtools/src/**"
# Include tests (but exclude cassettes via paths-ignore)
- "lib/cli/tests/**"
- "lib/crewai/tests/**"
- "lib/crewai-core/tests/**"
- "lib/crewai-tools/tests/**"
- "lib/crewai-files/tests/**"
- "lib/devtools/tests/**"