Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: Fix husky pre-commit hook #31

chore: Fix husky pre-commit hook

chore: Fix husky pre-commit hook #31

Workflow file for this run

name: Snyk Security Scan
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
merge_group: # run if triggered as part of a merge queue
push:
branches: [main]
release:
types: [published]
jobs:
snyk:
name: Snyk Security Scan
runs-on: ubuntu-latest
permissions:
# Required to fetch internal or private CodeCommits
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@v1.0.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
with:
# Fail the build on high severity vulnerabilities
args: --severity-threshold=high
- name: Run Snyk Monitor
# Only monitor on main branch pushes and releases, not on PRs
if: github.event_name != 'pull_request' && github.event_name != 'merge_group'
uses: snyk/actions/node@v1.0.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
with:
command: monitor
Morty Proxy This is a proxified and sanitized view of the page, visit original site.