mirror of
https://github.com/puppetlabs/vmpooler-provider-vsphere.git
synced 2026-01-26 03:18:41 -05:00
add snyk scanning
This commit is contained in:
parent
a9662622d5
commit
6ecaf214c1
1 changed files with 23 additions and 0 deletions
23
.github/workflows/snyk.yml
vendored
Normal file
23
.github/workflows/snyk.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Snyk Scan
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: setup ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.7
|
||||
- name: create lock
|
||||
run: bundle lock
|
||||
- name: Run Snyk to check for vulnerabilities
|
||||
uses: snyk/actions/ruby@master
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_DIO_KEY }}
|
||||
with:
|
||||
command: monitor
|
||||
Loading…
Add table
Add a link
Reference in a new issue