Skip to content

Commit

Permalink
rearranges cli arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
SHession committed Feb 4, 2022
1 parent 9b44635 commit 7c34166
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/sbt-node-snyk.yml
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit 7c34166

Please sign in to comment.