diff --git a/.github/workflows/shiftleft.yml b/.github/workflows/shiftleft.yml index db47f6761..416ace382 100644 --- a/.github/workflows/shiftleft.yml +++ b/.github/workflows/shiftleft.yml @@ -35,13 +35,11 @@ jobs: run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" id: extract_branch - name: NextGen Static Analysis - run: ${GITHUB_WORKSPACE}/sl analyze \ - --wait \ - --app "shiftleft-java-demo-041222" \ - --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} \ - --vcs-prefix-correction "io/shiftleft=src/main/java/" \ - --java \ - --cpg target/hello-shiftleft-0.0.1.jar + run: | + ${GITHUB_WORKSPACE}/sl analyze --wait --app "shiftleft-java-demo-041222" \ + --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} \ + --vcs-prefix-correction "io/shiftleft=src/main/java/" \ + --java --cpg target/hello-shiftleft-0.0.1.jar env: SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}