mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Merge pull request #164 from puppetlabs/migrate_snyk
Add Snyk action and Move to RE org
This commit is contained in:
commit
b69b17d00a
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