Skip to content

Integrating Snyk Security Analysis Tool into Github #8

Integrating Snyk Security Analysis Tool into Github

Integrating Snyk Security Analysis Tool into Github #8

Workflow file for this run

name: Snyk Security Scan
on:
pull_request:
branches:
- f24
workflow_call:
defaults:
run:
shell: bash
permissions:
checks: write
contents: read
jobs:
snyk:
runs-on: ubuntu-latest
env:
SNYK_TOKEN: ${{ secrets.SNYK_KEY }}
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: NPM Install
uses: bahmutov/npm-install@v1
with:
useLockFile: false
working-directory: ./install
- name: Run Snyk Test
run: npx snyk test --severity-threshold=high
working-directory: ./install