From f164a9a5fdb6c14a146efc91da67f9d0025bdf52 Mon Sep 17 00:00:00 2001 From: LH Date: Mon, 27 Jul 2020 13:42:10 +0200 Subject: [PATCH] ci: CI/CD should not execute Snyk scan when there is no release (#14) --- .github/workflows/ci_cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 7c2cf57..f973191 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -50,6 +50,7 @@ jobs: phonito-token: '${{ secrets.PHONITO_TOKEN }}' - name: Scan with Snyk + if: env.RELEASE_VERSION != '' uses: snyk/actions/docker@0.1.1 env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}