Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

chore: Gosec - enable security linting #183

Closed
wants to merge 12 commits into from
18 changes: 18 additions & 0 deletions .github/workflows/code-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Code scanning"

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
gosec:
permissions:
# Required to upload SARIF files
security-events: write
# for actions/checkout to fetch code
contents: read
# call reusable workflow from central '.github' repo
uses: open-component-model/.github/.github/workflows/code-scan.yml@main
secrets: inherit
Loading