From 46e1b021545cd3766d08a70e25e6b9714638284f Mon Sep 17 00:00:00 2001 From: Rip&Tear <84775494+theCyberTech@users.noreply.github.com> Date: Wed, 11 Feb 2026 18:20:07 +0800 Subject: [PATCH] chore: fix codeql coverage and action version (#4454) --- .github/codeql/codeql-config.yml | 5 +++++ .github/workflows/codeql.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index f7d50a775..6317a13c7 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -14,13 +14,18 @@ paths-ignore: - "lib/crewai/src/crewai/experimental/a2a/**" paths: + # Include GitHub Actions workflows/composite actions for CodeQL actions analysis + - ".github/workflows/**" + - ".github/actions/**" # Include all Python source code from workspace packages - "lib/crewai/src/**" - "lib/crewai-tools/src/**" + - "lib/crewai-files/src/**" - "lib/devtools/src/**" # Include tests (but exclude cassettes via paths-ignore) - "lib/crewai/tests/**" - "lib/crewai-tools/tests/**" + - "lib/crewai-files/tests/**" - "lib/devtools/tests/**" # Configure specific queries or packs if needed diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2fca96dcd..d3a21d1ac 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -69,7 +69,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -98,6 +98,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}"