Add Snyk action

This commit is contained in:
Jake Spain 2022-08-16 17:21:16 -04:00
parent 729a2981b7
commit c81f3327af
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113

25
.github/workflows/snyk.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Snyk Scan
on:
workflow_dispatch:
push:
branches:
- main
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-9.3.6.0
- name: Bundle Install
run: bundle install
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/ruby@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_RE_KEY }}
with:
command: monitor