From a6beeebac2aaa6f48b7dc1b49486d7d062eea9f1 Mon Sep 17 00:00:00 2001 From: Jeremy Rajan Date: Tue, 22 Aug 2023 13:25:04 +0700 Subject: [PATCH] ci: Delete Shiftleft from workflow runs --- .github/workflows/shiftleft-terraform.yaml | 27 ---------------------- 1 file changed, 27 deletions(-) delete mode 100644 .github/workflows/shiftleft-terraform.yaml diff --git a/.github/workflows/shiftleft-terraform.yaml b/.github/workflows/shiftleft-terraform.yaml deleted file mode 100644 index 9835734..0000000 --- a/.github/workflows/shiftleft-terraform.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# This workflow integrates ShiftLeft NG SAST with GitHub -# Visit https://docs.shiftleft.io for help -name: shiftleft-terraform -permissions: read-all - -on: - pull_request: - workflow_dispatch: - -jobs: - shiftleft-terraform: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v2 - - run: echo "REPO_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV - - name: Download ShiftLeft CLI - run: | - curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl - - name: Extract branch name - shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - id: extract_branch - - name: NextGen Static Analysis - run: ${GITHUB_WORKSPACE}/sl analyze --strict --wait --app ${{ env.REPO_NAME}} --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --terraform $(pwd) - env: - SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}