Skip to content

fix: complete semantic-release workflow with yq-free build process (#… #64

fix: complete semantic-release workflow with yq-free build process (#…

fix: complete semantic-release workflow with yq-free build process (#… #64

Workflow file for this run

name: Software Bill of Materials (SBOM)
on:
release:
types: [published]
push:
branches: [main]
paths:
- 'pyproject.toml'
- 'requirements*.txt'
- 'uv.lock'
workflow_dispatch:
permissions:
contents: read
actions: read
jobs:
config:
name: Configuration
uses: ./.github/workflows/shared-config.yml
generate-sbom:
name: Generate SBOM
runs-on: ubuntu-latest
needs: config
steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
- name: Setup Python and UV
uses: ./.github/actions/setup-python-uv
with:
python-version: ${{ needs.config.outputs.default-python-version }}
- name: Generate SBOM
run: |
source .venv/bin/activate
make sbom-generate
- name: Upload SBOM artifacts
uses: actions/upload-artifact@v4
with:
name: sbom-files
path: |
*.spdx.json
*.cyclonedx.json
retention-days: 30