Skip to content

Commit bae30c6

Browse files
committed
fix: disable CodeQL pr-diff-range extension pack causing undefined values
- Add explicit queries: +security-and-quality to avoid extension pack auto-selection - The pr-diff-range extension pack was generating invalid restrictAlertsTo rows - This forces CodeQL to run standard security and quality queries without PR filtering
1 parent 06660ad commit bae30c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f2 # v3.27.4
3636
with:
3737
languages: ${{ matrix.language }}
38+
# Disable pr-diff-range extension pack that causes undefined values
39+
queries: +security-and-quality
3840
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3941

4042
- name: Install Rust
@@ -54,4 +56,6 @@ jobs:
5456
- name: Perform CodeQL Analysis
5557
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f2 # v3.27.4
5658
with:
57-
category: "/language:${{matrix.language}}"
59+
category: "/language:${{matrix.language}}"
60+
# Disable automatic PR filtering to avoid extension pack issues
61+
upload-database: true

0 commit comments

Comments
 (0)