security: add snyk

This commit is contained in:
Mark Cheret 2021-04-20 03:28:19 +02:00
parent fe48c2b34a
commit 1e5d0b171f
No known key found for this signature in database
GPG key ID: C0779E8358FE7CA4

11
.github/workflows/snyk.yml vendored Normal file
View file

@ -0,0 +1,11 @@
name: Example workflow for PHP using 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 }}