Skip to content

feat: ignore-on-exit flag to control the error code #52

feat: ignore-on-exit flag to control the error code

feat: ignore-on-exit flag to control the error code #52

Workflow file for this run

name: Security Scans
on:
push:
branches:
- master
pull_request:
branches:
- master
merge_group:
schedule:
- cron: "0 0 * * *"
jobs:
gosec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: "-no-fail -fmt sarif -out results.sarif -exclude-dir=.ci -exclude-dir=tests ./..."
- name: Upload Gosec Results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
secret-scanning:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run 2ms Scan
run: docker run -v $(pwd):/repo checkmarx/2ms:latest git /repo --config /repo/.2ms.yml