diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c8fcde..7e26f37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,9 @@ jobs: include: - suffix: "" - app: lzo - run_snyk: ${{ !contains(github.ref, 'rc') }} + run_snyk: ${{ contains(github.ref, 'rc') }} - app: distroless - run_snyk: ${{ !contains(github.ref, 'rc') }} + run_snyk: ${{ contains(github.ref, 'rc') }} steps: - uses: actions/checkout@v2 @@ -79,14 +79,14 @@ jobs: if: matrix.run_snyk with: image: "snowplow/snowplow-s3-loader:${{ github.ref_name }}-${{ matrix.app }}" - args: "--app-vulns --org=data-processing-new" + args: "--app-vulns --org=data-cap" command: monitor env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} create_release: needs: test - if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'rc') }} + if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'rc') }} runs-on: ubuntu-latest steps: