From ebfbd4180184a60febb016f1945d5d69520cd42d Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Wed, 13 Apr 2022 15:46:09 +0100 Subject: [PATCH] Fix SAST --- .github/workflows/sast.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/sast.yml b/.github/workflows/sast.yml index d08be0a..852034a 100644 --- a/.github/workflows/sast.yml +++ b/.github/workflows/sast.yml @@ -1,21 +1,18 @@ name: SAST Scan on: push: - branches: '*' pull_request: branches: [ main ] jobs: scan: - name: Scan - uses: AppThreat/sast-scan-action@master - with: - output: reports - type: go - - upload: - name: Upload reports - uses: actions/upload-artifact@v1 - with: - name: sast-scan-reports - path: reports + runs-on: ubuntu-latest + steps: + - uses: 'AppThreat/sast-scan-action/action.yml@master' + with: + output: reports + type: go + - uses: actions/upload-artifact@v1 + with: + name: sast-scan-reports + path: reports