pirikara/SBOM Dependency Diff

Generate SBOMs for base and head refs using Syft and output dependency diff (added/removed/changed) as JSON.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
base-refBase git ref to compare (e.g. PR base branch). Defaults to GITHUB_BASE_REF or origin/main.no
head-refHead git ref to compare (e.g. PR head branch). Defaults to GITHUB_HEAD_REF or HEAD.no
pathTarget path to scan for SBOM generation (e.g. '.' or 'subdir').no.
sbom-formatSBOM output format for Syft (e.g. cyclonedx-json).nocyclonedx-json
syft-argsAdditional arguments passed to Syft when generating SBOM.no""
working-directoryWorking directory to run git and syft commands in.no.
fail-on-diffIf 'true', action exits with non-zero code when any diff is found.nofalse
namedescription
has_difftrue if there is any dependency difference between base and head.
addedJSON string array of added components.
removedJSON string array of removed components.
changedJSON string array of changed components (with old/new versions).