lfreleng-actions/Python SBOM Generator

Generates CycloneDX SBOM reports for Python projects

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/python-sbom-action@60648e3351a48617d40f68ccb1f143e050f74c96 # v0.1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
python_versionPython version to use for SBOM generationno3.12
include_devInclude development dependencies in SBOMnofalse
sbom_formatSBOM output format: 'json', 'xml', or 'both'noboth
sbom_spec_versionCycloneDX specification version to useno1.5
filename_prefixBase filename for SBOM output (without extension)nosbom-cyclonedx
output_directoryDirectory where SBOM reports will be writtenno.
path_prefixDirectory location containing project codeno.
fail_on_errorFail the action if SBOM generation encounters errorsnotrue
namedescription
sbom_json_pathPath to generated JSON SBOM file
sbom_xml_pathPath to generated XML SBOM file
dependency_managerDetected Python dependency manager
component_countNumber of components in the generated SBOM