diff --git a/.github/workflows/sbt-node-snyk.yml b/.github/workflows/sbt-node-snyk.yml index adebbb7..b5a7ffb 100644 --- a/.github/workflows/sbt-node-snyk.yml +++ b/.github/workflows/sbt-node-snyk.yml @@ -24,10 +24,6 @@ jobs: - name: Checkout branch uses: actions/checkout@v2 - - name: Setup debug var - run: echo INPUT_DEBUG=${{ inputs.DEBUG }} >> $GITHUB_ENV - shell: bash - - uses: snyk/actions/setup@0.3.0 - uses: actions/setup-node@v2 with: @@ -39,6 +35,7 @@ jobs: distribution: "adopt" - name: Snyk monitor - run: snyk monitor --all-projects ${INPUT_DEBUG:+ -d} --org="${{ inputs.ORG }}" + run: snyk monitor ${INPUT_DEBUG:+ -d} --all-projects --org="${{ inputs.ORG }}" env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + INPUT_DEBUG: ${{ inputs.DEBUG }}