From 566540c1e98a441e1ef59c2823bf94989f7c93f9 Mon Sep 17 00:00:00 2001 From: Johannes Edmeier Date: Fri, 15 Dec 2023 13:48:37 +0100 Subject: [PATCH] build: add snyk scans for release --- .github/workflows/reusable-snyk-scan.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-snyk-scan.yml b/.github/workflows/reusable-snyk-scan.yml index 4f8dbe1..ecd8e78 100644 --- a/.github/workflows/reusable-snyk-scan.yml +++ b/.github/workflows/reusable-snyk-scan.yml @@ -25,9 +25,8 @@ on: jobs: snyk: name: Snyk - runs-on: ${{ inputs.runs_on }} + runs-on: ubuntu-latest timeout-minutes: 60 - continue-on-error: true env: snyk_available: ${{ secrets.SNYK_TOKEN != '' }} container_image: ${{ inputs.container_image || format('ghcr.io/{0}:{1}', github.repository, github.ref_name) }} @@ -38,6 +37,7 @@ jobs: - name: Snyk ${{ inputs.command }} if: ${{ env.snyk_available }} + continue-on-error: true uses: snyk/actions/golang@master env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} @@ -47,6 +47,7 @@ jobs: - name: Snyk ${{ inputs.command }} docker image ${{ env.container_image }} if: ${{ env.snyk_available }} + continue-on-error: true uses: snyk/actions/docker@master with: image: ${{ env.container_image }}