File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 29
29
- name : Run CodeQL Custom Queries
30
30
uses : github/codeql-action/analyze@v3
31
31
with :
32
- category : " custom-query"
32
+ category : " custom-query-analysis " # Unique category for this analyze action
33
33
queries : .github/queries # Ensure this path is correct
34
34
output : ./results/security-results.sarif # Explicit output path for SARIF file
35
35
@@ -41,20 +41,22 @@ jobs:
41
41
- name : Find SARIF Files
42
42
run : find . -name "*.sarif" || echo "No SARIF files found"
43
43
44
- # ✅ Upload CodeQL SARIF Results
44
+ # ✅ Upload CodeQL SARIF Results (Use a Different Category)
45
45
- name : Upload CodeQL SARIF Results
46
46
uses : actions/upload-artifact@v4
47
47
with :
48
48
name : codeql-custom-results
49
49
path : ./results/security-results.sarif
50
50
51
- # ✅ Upload SARIF to GitHub Security Alerts
51
+ # ✅ Upload SARIF to GitHub Security Alerts (Unique category for upload)
52
52
- name : Upload SARIF to GitHub Security Tab
53
53
uses : github/codeql-action/upload-sarif@v3
54
54
with :
55
+ category : " custom-query-upload" # Unique category for the upload step
55
56
sarif_file : ./results/security-results.sarif
56
57
57
58
59
+
58
60
59
61
60
62
You can’t perform that action at this time.
0 commit comments