From 8393d0c231b6626508b33caae8bac41584541231 Mon Sep 17 00:00:00 2001 From: nishfath <81247855+nishfath@users.noreply.github.com> Date: Thu, 19 May 2022 16:41:11 -0400 Subject: [PATCH] Update ngsast.yml with customer-template with --v2 --- .github/workflows/ngsast.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ngsast.yml b/.github/workflows/ngsast.yml index 19fa330..a79a103 100644 --- a/.github/workflows/ngsast.yml +++ b/.github/workflows/ngsast.yml @@ -48,13 +48,14 @@ jobs: # Lets check the previous analysis for this branch to our baseline on Main, # since we specify a 'branch' we don't have to specify a '--source' run: | - ${GITHUB_WORKSPACE}/sl check-analysis --app shiftleft-java-demo \ - --branch "${{ github.head_ref || steps.extract_branch.outputs.branch }}" \ - --report \ - --github-pr-number=${{github.event.number}} \ - --github-pr-user=${{ github.repository_owner }} \ - --github-pr-repo=${{ github.event.repository.name }} \ - --github-token=${{ secrets.GITHUB_TOKEN }} + # ${GITHUB_WORKSPACE}/sl check-analysis --app shiftleft-java-demo \ + # --branch "${{ github.head_ref || steps.extract_branch.outputs.branch }}" \ + # --report \ + # --github-pr-number=${{github.event.number}} \ + # --github-pr-user=${{ github.repository_owner }} \ + # --github-pr-repo=${{ github.event.repository.name }} \ + # --github-token=${{ secrets.GITHUB_TOKEN }} + ${GITHUB_WORKSPACE}/sl check-analysis --v2 --customer-template env: # For SL to run you'll need a Secret with an access token SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}