Skip to content

Commit

Permalink
reuse from central config repo: .github
Browse files Browse the repository at this point in the history
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
  • Loading branch information
hilmarf authored Jan 29, 2025
1 parent 05ddc7a commit d07a6ea
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,9 @@ jobs:
category: "/language:${{matrix.language}}"

gosec:
name: Go Security Checker
runs-on: large_runner
permissions:
# Required to upload SARIF files
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Gosec Security Scanner
uses: securego/gosec@v2.22.0
with:
args: "-no-fail -fmt sarif -out results.sarif ./..."
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
# call reusable workflow from central '.github' repo
uses: open-component-model/.github/.github/workflows/code-scan.yml@main
secrets: inherit

0 comments on commit d07a6ea

Please sign in to comment.