updated settings on snyk.io
This commit is contained in:
parent
a5b86ec20c
commit
6cb765cb5a
1 changed files with 13 additions and 19 deletions
32
.github/workflows/snyk.yml
vendored
32
.github/workflows/snyk.yml
vendored
|
@ -1,19 +1,13 @@
|
|||
name: Snyk
|
||||
on: push
|
||||
jobs:
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Run Snyk to check for vulnerabilities
|
||||
uses: snyk/actions/php@master
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
with:
|
||||
args: --all-projects
|
||||
- name: Snyk monitor
|
||||
run: snyk test
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
with:
|
||||
command: monitor
|
||||
# name: Snyk
|
||||
# on: push
|
||||
# jobs:
|
||||
# security:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@master
|
||||
# - name: Run Snyk to check for vulnerabilities
|
||||
# uses: snyk/actions/php@master
|
||||
# env:
|
||||
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
# with:
|
||||
# args: --all-projects
|
Reference in a new issue