Files
santifer--career-ops/.github/workflows/sbom.yml
T
wehub-resource-sync d083df1fdb
CodeQL Analysis / Analyze (javascript-typescript) (push) Failing after 2s
Web CI / web typecheck + build (push) Failing after 1s
Release Please / release-please (push) Failing after 1s
CodeQL Analysis / Analyze (go) (push) Failing after 16s
chore: import upstream snapshot with attribution
2026-07-13 12:02:43 +08:00

27 lines
602 B
YAML

name: SBOM Generation
on:
release:
types: [published]
permissions:
contents: write
jobs:
sbom:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Generate SBOM (SPDX)
uses: anchore/sbom-action@v0
with:
artifact-name: career-ops-sbom.spdx.json
format: spdx-json
output-file: career-ops-sbom.spdx.json
- name: Upload SBOM to release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{ github.event.release.tag_name }} career-ops-sbom.spdx.json