Skip to content

Commit

Permalink
Merge pull request puppetlabs#295 from puppetlabs/snyk_scan
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak authored Mar 27, 2022
2 parents ebb966f + 55958f4 commit dba16ed
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Snyk Scan
on:
workflow_dispatch:
push:
branches:
- main
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: twingate/github-action@v1
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
- 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_GENERAL_KEY }}
with:
command: monitor

0 comments on commit dba16ed

Please sign in to comment.