Skip to content

Commit

Permalink
adds snyk scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
wreet committed Jan 27, 2023
1 parent 1be4f8f commit 10ca7ea
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: snyk scanning

on:
push:
branches: ["master", "v2*"]

workflow_dispatch:

jobs:
snyk:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: install snyk
run: npm install -g snyk

- name: install deps and scan
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: |
snyk monitor --project-name=kminion --remote-repo=redpanda-data/kminion --target-reference=${GITHUB_REF#refs/heads/} .
shell: bash

0 comments on commit 10ca7ea

Please sign in to comment.