Skip to content

Instantly share code, notes, and snippets.

@Brocco
Created January 5, 2024 19:24
Show Gist options
  • Save Brocco/6b45ac449cea44f19e06157734da55bd to your computer and use it in GitHub Desktop.
Save Brocco/6b45ac449cea44f19e06157734da55bd to your computer and use it in GitHub Desktop.
// action yml file
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
with:
args: --severity-threshold=medium --policy-path=.snyk
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
// .snyk
ignore:
SNYK-JS-INFLIGHT-6095116:
- my>path>to>the>file>package.json:
reason: "No concern over a medium level vuln"
expires: "datetime string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment