Skip to content

Commit

Permalink
add snyk monitor github action workflow (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbaker4 authored Sep 18, 2023
1 parent e2a1209 commit 5b6931f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/snyk-monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Snyk Monitor'
run-name: 'Update Snyk with latest vulnerability report'
on:
push:
branches:
- master
permissions:
contents: read
jobs:
snyk-monitor:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Run Snyk to monitor for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor

0 comments on commit 5b6931f

Please sign in to comment.