Merge pull request #1431 from thehyve/dev #428
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: Workflow for Gradle using Snyk | |
on: | |
push: | |
branches: [ dev, release ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ dev, release ] | |
schedule: | |
- cron: '0 2 * * 1' | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/gradle-jdk16@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: test | |
args: --all-projects --severity-threshold=critical --fail-on=all |