Skip to content

Commit 10ca7ea

Browse files
committed
adds snyk scanning
1 parent 1be4f8f commit 10ca7ea

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/snyk-scan.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: snyk scanning
2+
3+
on:
4+
push:
5+
branches: ["master", "v2*"]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
snyk:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: install snyk
17+
run: npm install -g snyk
18+
19+
- name: install deps and scan
20+
env:
21+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
22+
run: |
23+
snyk monitor --project-name=kminion --remote-repo=redpanda-data/kminion --target-reference=${GITHUB_REF#refs/heads/} .
24+
shell: bash

0 commit comments

Comments
 (0)