File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow integrates njsscan with GitHub's Code Scanning feature
2+ # nodejsscan is a static security code scanner that finds insecure code patterns in your Node.js applications
3+
4+ name : njsscan sarif
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ # The branches below must be a subset of the branches above
11+ branches : [ master ]
12+ schedule :
13+ - cron : ' 26 18 * * 3'
14+
15+ jobs :
16+ njsscan :
17+ runs-on : ubuntu-latest
18+ name : njsscan code scanning
19+ steps :
20+ - name : Checkout the code
21+ uses : actions/checkout@v2
22+ - name : nodejsscan scan
23+ id : njsscan
24+ uses : ajinabraham/njsscan-action@master
25+ with :
26+ args : ' . --sarif --output results.sarif || true'
27+ - name : Upload njsscan report
28+ uses : github/codeql-action/upload-sarif@v1
29+ with :
30+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments