Fix SAST
This commit is contained in:
23
.github/workflows/sast.yml
vendored
23
.github/workflows/sast.yml
vendored
@@ -1,21 +1,18 @@
|
|||||||
name: SAST Scan
|
name: SAST Scan
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
scan:
|
scan:
|
||||||
name: Scan
|
runs-on: ubuntu-latest
|
||||||
uses: AppThreat/sast-scan-action@master
|
steps:
|
||||||
with:
|
- uses: 'AppThreat/sast-scan-action/action.yml@master'
|
||||||
output: reports
|
with:
|
||||||
type: go
|
output: reports
|
||||||
|
type: go
|
||||||
upload:
|
- uses: actions/upload-artifact@v1
|
||||||
name: Upload reports
|
with:
|
||||||
uses: actions/upload-artifact@v1
|
name: sast-scan-reports
|
||||||
with:
|
path: reports
|
||||||
name: sast-scan-reports
|
|
||||||
path: reports
|
|
||||||
|
|||||||
Reference in New Issue
Block a user