Skip to content

chore(deps): update anchore/sbom-action action to v0.17.1 (#292) #598

chore(deps): update anchore/sbom-action action to v0.17.1 (#292)

chore(deps): update anchore/sbom-action action to v0.17.1 (#292) #598

Workflow file for this run

name: Scan CVEs
permissions:
contents: read
on:
push:
branches: ["main"]
pull_request:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
schedule:
- cron: "32 2 * * 5"
jobs:
scan-cves:
name: Scan CVEs
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["go"]
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup golang
uses: ./.github/actions/golang
- name: Initialize CodeQL
uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
with:
languages: ${{ matrix.language }}
# config-file: ./.github/codeql.yaml #Uncomment once config file is needed.
- name: Build
run: make build
- name: Perform CodeQL Analysis
id: scan
uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
with:
category: "/language:${{matrix.language}}"