Skip to content

Detect injected providers #1551

Detect injected providers

Detect injected providers #1551

Workflow file for this run

name: Njsscan
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '15 23 * * 0'
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan check
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: nodejsscan scan
id: njsscan
uses: ajinabraham/njsscan-action@master
with:
args: '. --sarif --output results.sarif || true'
- name: Upload njsscan report
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif