From 6ee8a14deb1f71f954375b0b47db5c9dd91ef41d Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Thu, 18 Jun 2020 23:30:59 +0100 Subject: [PATCH] Add shiftleft scan (#1372) * Create shiftleft-analysis.yml * Remove comments Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com> --- .github/workflows/shiftleft-analysis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/shiftleft-analysis.yml diff --git a/.github/workflows/shiftleft-analysis.yml b/.github/workflows/shiftleft-analysis.yml new file mode 100644 index 00000000..338e4b41 --- /dev/null +++ b/.github/workflows/shiftleft-analysis.yml @@ -0,0 +1,23 @@ +name: ShiftLeft Scan + +on: push + +jobs: + Scan-Build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: Perform ShiftLeft Scan + uses: ShiftLeftSecurity/scan-action@master + env: + WORKSPACE: "" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SCAN_AUTO_BUILD: true + with: + output: reports + + - name: Upload report + uses: github/codeql-action/upload-sarif@v1 + with: + sarif_file: reports