Repository navigation
chore(ci): update cyclonedx-bom to 9.0.2 and let Dependabot track it - #980
Merged
Merged
Conversation
cyclonedx-bom was pinned with `pipx install` in a `run:` step of generate-sbom.yml, which Dependabot never reads: the github-actions ecosystem only updates `uses:`, the pip ecosystem only the manifests. Declare it in an optional `sbom` Poetry group, locked in poetry.lock. The workflow installs that group from its own commit into a separate environment, so that a manual run for an older version, which has no such group, still works. The project's dependencies, and the uploaded SBOM, are unchanged. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
Contributor
|
📖 The documentation of this pull request is previewed at https://csi.eclipse.dev/otterdog-website-preview/pr-preview/pr-980/ Built from 33fbc35 by this run, updated by every new commit (GitHub Pages may take a minute to publish it). The preview is removed when the pull request is closed. |
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the SBOM tooling update.
No open issues 🎉
What changed in this PR
Updates Otterdog’s software bill of materials (SBOM) generator to cyclonedx-bom 9.0.2 and makes it discoverable by Dependabot, without changing CLI or webapp code.
Changes:
- Adds an optional
sbomPoetry group and locks its dependencies. - Installs the generator separately using the workflow revision’s manifests, retaining CycloneDX 1.6 output.
| File | Description |
|---|---|
pyproject.toml |
Declares cyclonedx-bom in the optional sbom group. |
poetry.lock |
Locks the generator and its dependencies. |
.github/workflows/generate-sbom.yml |
Replaces the pipx pin with an isolated Poetry installation. |
Review effort: Balanced
netomi
approved these changes
Dec 3, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The SBOM uploaded to sbom.eclipse.org is now generated with cyclonedx-bom 9.0.2 instead of 7.6.0, and Dependabot will
propose its future updates. Its content is unchanged: same components, same dependencies, CycloneDX 1.6. Nothing
changes for the CLI or the webapp.
Dependabot never saw cyclonedx-bom because it was pinned with
pipx install cyclonedx-bom==7.6.0in arun:step ofgenerate-sbom.yml. Thegithub-actionsecosystem only updatesuses:references, and thepipecosystem only readsthe manifests (
pyproject.toml,poetry.lock).Type of change
Tests
tests/was checked by running its steps locally (below).
Manual testing
Checklist
docs/, reference docs for new/changed settings,make docsbuilds): not applicable,no page describes the SBOM workflow or the Poetry groups.
otterdog/resources/defaults/otterdog-defaults.libsonnet):not applicable, neither the schema nor the defaults change.