forked from sws2apps/organized-app
-
Notifications
You must be signed in to change notification settings - Fork 0
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
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@0d579ffd059c29b07949a3cce3983f0780820c98
with:
sarif_file: results.sarif