mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Add Snyk action
This commit is contained in:
parent
9be5cd233e
commit
a93bc24649
1 changed files with 25 additions and 0 deletions
25
.github/workflows/snyk.yml
vendored
Normal file
25
.github/workflows/snyk.yml
vendored
Normal 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: 2.7
|
||||||
|
- 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue