security: add snyk
This commit is contained in:
parent
fe48c2b34a
commit
1e5d0b171f
1 changed files with 11 additions and 0 deletions
11
.github/workflows/snyk.yml
vendored
Normal file
11
.github/workflows/snyk.yml
vendored
Normal 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 }}
|
Reference in a new issue