Skip to content

Commit

Permalink
Merge pull request #1 from sumgang45/main
Browse files Browse the repository at this point in the history
Updated workflow files to cover deprecations
  • Loading branch information
abhaybhargav authored Jul 18, 2024
2 parents b36a923 + 2e2a975 commit 22ffd88
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/njsscan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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
17 changes: 0 additions & 17 deletions .github/workflows/njssscan.yml

This file was deleted.

0 comments on commit 22ffd88

Please sign in to comment.