Merge branch 'master' into stable #938
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snyk push gate | |
on: push | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- run: npm install -g snyk | |
- run: snyk auth ${{ secrets.SNYK_TOKEN }} | |
- run: pip install -r ./requirements.txt | |
- run: snyk test --file=./requirements.txt --policy-path=./.snyk --severity-threshold=high |