-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 982 Bytes
/
security-scan.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Snyk Security Scan
on: "push"
# schedule:
# - cron: "15 * * * *"
# jobs:
# frontend-scan:
# name: frontend scan
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - run: cd frontend
# - name: Run Snyk to check for vulnerabilities
# uses: snyk/actions/node@master
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# backend-scan:
# name: backend scan
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - run: cd backend
# - name: Run Snyk to check for vulnerabilities
# uses: snyk/actions/python@master
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
jobs:
security-scan:
name: security scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}