Skip to content

Commit cf7cdfe

Browse files
committed
correct ql file
1 parent 2c11f68 commit cf7cdfe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Run CodeQL Custom Queries
3030
uses: github/codeql-action/analyze@v3
3131
with:
32-
category: "custom-query"
32+
category: "custom-query-analysis" # Unique category for this analyze action
3333
queries: .github/queries # Ensure this path is correct
3434
output: ./results/security-results.sarif # Explicit output path for SARIF file
3535

@@ -41,20 +41,22 @@ jobs:
4141
- name: Find SARIF Files
4242
run: find . -name "*.sarif" || echo "No SARIF files found"
4343

44-
# ✅ Upload CodeQL SARIF Results
44+
# ✅ Upload CodeQL SARIF Results (Use a Different Category)
4545
- name: Upload CodeQL SARIF Results
4646
uses: actions/upload-artifact@v4
4747
with:
4848
name: codeql-custom-results
4949
path: ./results/security-results.sarif
5050

51-
# ✅ Upload SARIF to GitHub Security Alerts
51+
# ✅ Upload SARIF to GitHub Security Alerts (Unique category for upload)
5252
- name: Upload SARIF to GitHub Security Tab
5353
uses: github/codeql-action/upload-sarif@v3
5454
with:
55+
category: "custom-query-upload" # Unique category for the upload step
5556
sarif_file: ./results/security-results.sarif
5657

5758

59+
5860

5961

6062

0 commit comments

Comments
 (0)