diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd9a5f4..ee7834e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,10 +48,10 @@ 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 }}" \ + ${GITHUB_WORKSPACE}/sl check-analysis --app $(basename $(pwd)) --v2 --config shiftleft.yml \ + --source tag.branch=master --branch "${{ github.head_ref || steps.extract_branch.outputs.branch }}" \ --report \ - --github-pr-number=${{ github.event.number }} \ + --github-pr-number=${{github.event.number}} \ --github-pr-user=${{ github.repository_owner }} \ --github-pr-repo=${{ github.event.repository.name }} \ --github-token=${{ secrets.GITHUB_TOKEN }}