Skip to content

chore(deps): update module google.golang.org/protobuf to v1.33.0 [sec… #22

chore(deps): update module google.golang.org/protobuf to v1.33.0 [sec…

chore(deps): update module google.golang.org/protobuf to v1.33.0 [sec… #22

Workflow file for this run

name: SBOM scans
on:
push:
branches:
- master
release:
types:
- published
permissions:
actions: read
contents: write
security-events: write
packages: write
jobs:
sbom:
name: SBOM
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Generate
uses: aquasecurity/trivy-action@0.33.1
with:
scan-type: 'fs'
scan-ref: '.'
format: 'github'
output: 'dependency-results.sbom.json'
github-pat: ${{ secrets.GITHUB_TOKEN }}
- name: Scan
uses: aquasecurity/trivy-action@0.33.1
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
github-pat: ${{ secrets.GITHUB_TOKEN }}
- name: Upload
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: 'trivy-results.sarif'
- name: Generate SBOM
if: startsWith(github.ref, 'refs/tags/')
uses: aquasecurity/trivy-action@0.33.1
with:
scan-type: 'fs'
scan-ref: '.'
format: cyclonedx
output: sbom.cdx.json
- name: Attach SBOM
if: startsWith(github.ref, 'refs/tags/')
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ github.ref_name }} sbom.cdx.json