Skip to content

Commit dbc6b7d

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Github action: Snyk code analysis added.
1 parent 535dbea commit dbc6b7d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/node-snyk.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This workflow will build a .NET project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+
name: Snyk Code analysis
5+
6+
on:
7+
push:
8+
branches: [ main, develop, feature/* ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
security:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@master
17+
- name: Run Snyk to check for vulnerabilities
18+
uses: snyk/actions/node@master
19+
env:
20+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)