Skip to content

Commit

Permalink
Added snyk scan
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisBerthold-leanix committed Feb 24, 2023
1 parent 2a06f21 commit f2341dd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/snyk-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Snyk vulnerability scan
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get credentials
uses: leanix/secrets-action@master
with:
secret-store-credentials: ${{ secrets.INJECTED_SECRET_STORE_CREDENTIALS }}

- uses: actions/setup-go@master
with:
go-version: 1.18.3

- name: Setup project
run: make clean gen

- name: Show current used versions
run: go list -m all

- uses: snyk/actions/golang@master
with:
command: monitor -d --project-tags=Team=Helios,Tribe=VSM --project-name=leanix/leanix-k8s-connector

0 comments on commit f2341dd

Please sign in to comment.