Skip to content

Commit 06660ad

Browse files
committed
fix: replace CodeQL Autobuild with manual build to resolve extension pack errors
- Remove problematic Autobuild step that was causing 'undefined' values - Use manual 'cargo build --all-features' to ensure proper build process - Resolves restrictAlertsTo predicate errors in AlertFiltering.qll
1 parent 460d070 commit 06660ad

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,9 @@ jobs:
4747
with:
4848
cache-on-failure: true
4949

50-
# Autobuild attempts to build any compiled languages (Rust, C/C++, C#, Java, Go, etc.)
51-
# If this step fails, then remove it and run the build manually
52-
- name: Autobuild
53-
uses: github/codeql-action/autobuild@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f2 # v3.27.4
54-
55-
# If the Autobuild fails above, remove it and uncomment the following
56-
# - name: Build
57-
# run: cargo build --all-features
50+
# Manual build to avoid CodeQL extension pack issues
51+
- name: Build
52+
run: cargo build --all-features
5853

5954
- name: Perform CodeQL Analysis
6055
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f2 # v3.27.4

0 commit comments

Comments
 (0)