From 4718d41e1e44edb174919da50b79ca6e85d2b8c5 Mon Sep 17 00:00:00 2001 From: shiftleft-chuck <100888182+shiftleft-chuck@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:36:11 -0400 Subject: [PATCH] Update shiftleft.yml --- .github/workflows/shiftleft.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 }}