Skip to content

Commit 0241226

Browse files
committed
update snyk workflow
1 parent b6fcba5 commit 0241226

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/qa.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,3 @@ jobs:
3838
- name: Run PMD Check
3939
if: success() || failure()
4040
run: mvn -B pmd:pmd --file pom.xml
41-
- name: Run Snyk to check for vulnerabilities
42-
uses: snyk/actions/maven@master
43-
env:
44-
SNYK_TOKEN: ${{ secrets.SNYK_KEY }}

.github/workflows/snyk.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Example workflow for Maven using Snyk
2+
on:
3+
push:
4+
branches:
5+
- dev-qa
6+
jobs:
7+
security:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@master
11+
- name: Run Snyk to check for vulnerabilities
12+
uses: snyk/actions/maven@master
13+
env:
14+
SNYK_TOKEN: ${{ secrets.SNYK_KEY }}

0 commit comments

Comments
 (0)