Skip to content

Updated workflow files to cover deprecations #2

Updated workflow files to cover deprecations

Updated workflow files to cover deprecations #2

Workflow file for this run

name: njsscan
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
njsscan:
runs-on: ubuntu-latest
name: njsscan check
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- uses: actions/checkout@v4
- 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@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif