Skip to content

Commit

Permalink
chore: added snyk gh action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
warber committed Feb 27, 2024
1 parent b4f8d6c commit 6e58088
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Snyk Security Scan

on:
pull_request:
branches: [ main ]
merge_group: # run if triggered as part of a merge queue
push:
branches: [ main ]

jobs:
security:
name: Code security scanning alerts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@b98d498629f1c368650224d6d212bf7dfa89e4bf # v0.4.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}

0 comments on commit 6e58088

Please sign in to comment.