Skip to content

Add weekly Snyk Docker image scan to Github actions #114

Add weekly Snyk Docker image scan to Github actions

Add weekly Snyk Docker image scan to Github actions #114

Workflow file for this run

name: Snyk test on PR commits
on:
pull_request:
branches:
- main
- dev
- release-*
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node
with:
node-version: 16
cache: npm
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/gradle-jdk17@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: >-
--all-projects
--configuration-matching="^runtimeClasspath$"
--severity-threshold=high
--fail-on=upgradable
--org=radar-base
--policy-path=.snyk