updated settings on snyk.io

This commit is contained in:
Mark Cheret 2021-04-20 04:05:00 +02:00
parent a5b86ec20c
commit 6cb765cb5a
No known key found for this signature in database
GPG key ID: C0779E8358FE7CA4

View file

@ -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