File tree 1 file changed +15
-6
lines changed
1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 18
18
contents : read
19
19
20
20
steps :
21
+
22
+
23
+
21
24
- name : Set up Node.js
22
25
uses : actions/setup-node@v4
23
26
with :
@@ -29,32 +32,38 @@ jobs:
29
32
- name : Check JavaScript files
30
33
run : find src -name "*.js" || echo "No JavaScript files found"
31
34
35
+
32
36
- name : Initialize CodeQL
33
37
uses : github/codeql-action/init@v3
34
38
with :
35
39
languages : javascript
40
+ source=root : scr
41
+
42
+
36
43
37
44
- name : Autobuild
38
45
uses : github/codeql-action/autobuild@v3
39
46
40
47
- name : Run CodeQL Custom Queries
41
48
uses : github/codeql-action/analyze@v3
42
49
with :
43
- category : " custom-query-analysis"
44
- queries : .github/queries
50
+ category : " custom-query-analysis"
51
+ queries : .github/queries
52
+ output : ./results/security-results.sarif
45
53
54
+
46
55
- name : List files in results directory
47
56
run : ls -la ./results || echo "Results directory not found"
48
57
58
+
49
59
- name : Find SARIF Files
50
60
run : find . -name "*.sarif" || echo "No SARIF files found"
51
61
52
62
- name : Upload CodeQL SARIF Results
53
- uses : actions/upload-artifact@v4
63
+ uses : actions/upload-sarif@v3
54
64
with :
55
- name : codeql-custom-results
56
- path : ./results/security-results.sarif
57
-
65
+ sarif_file : rsults.sarif
66
+ category : Green Python
58
67
59
68
60
69
You can’t perform that action at this time.
0 commit comments