-
-
Notifications
You must be signed in to change notification settings - Fork 35
35 lines (28 loc) · 855 Bytes
/
njsscan.yml
File metadata and controls
35 lines (28 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: NodeJSScan
on:
schedule:
- cron: '0 12 * * 4'
permissions:
contents: read
jobs:
nodejsscan:
name: NodeJS Scan
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout the code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Setup Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
with:
python-version: '3.12'
- name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@231750a435d85095d33be7d192d52ec650625146
with:
args: '. --sarif --output results.sarif || true'
- name: Upload njsscan report
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89
with:
sarif_file: results.sarif