Skip to content

Commit

Permalink
add cyclonedx sbom to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneboulden committed Sep 16, 2024
1 parent e0d5e48 commit cb4ac18
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go-cyclonedx-sbom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Download and invoke cyclonedx-gomod in a single step
name: CycloneDX SBOM generate
on:
workflow_dispatch:
release:
types: [created]

permissions: read-all

jobs:
generate:
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
args: mod -licenses -json -output bom.json

0 comments on commit cb4ac18

Please sign in to comment.