chore: maintenance, add gosec, migrate reuse, 2025 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code scanning" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
schedule: | |
- cron: "26 14 * * 2" | |
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 |