Skip to content

Update dependabot.yml #107

Update dependabot.yml

Update dependabot.yml #107

Workflow file for this run

name: Workflow for SAST & SCA
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities in dependencies
uses: snyk/actions/node@master # See https://github.com/snyk/actions for other supported build tools/languages
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test --all-projects --json-file-output=snyk_dependencies.json
- name: Run Snyk to check for vulnerabilities in code
uses: snyk/actions/node@master # See https://github.com/snyk/actions for other supported build tools/languages
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: code test --all-projects --json-file-output=snyk_code.json
- name: Add Job Summary from Snyk reports
uses: medly/[email protected]
with:
dependencies-report-path: snyk_dependencies.json # The file name of json file which is generated on snyk test
code-report-path: snyk_code.json # The file name of json file which is generated on snyk code test