Skip to content

chore(ci): update cyclonedx-bom to 9.0.2 and let Dependabot track it - #980

Merged
heurtematte merged 1 commit into
mainfrom
chore/sbom-cyclonedx-dependabot
Dec 3, 2026
Merged

heurtematte merged 1 commit into
mainfrom
chore/sbom-cyclonedx-dependabot

Conversation

@heurtematte

Copy link
Copy Markdown
Contributor

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.0 in a run: step of
generate-sbom.yml. The github-actions ecosystem only updates uses: references, and the pip ecosystem only reads
the manifests (pyproject.toml, poetry.lock).

Type of change

  • 🐛 Bug fix (non-breaking change fixing an issue)
  • ✨ New feature (non-breaking change adding functionality)
  • 💥 Breaking change (fix or feature that changes existing behavior, config schema, or default template)
  • 📝 Documentation only
  • 🔧 Refactoring / internal change (no functional change)

Tests

  • Unit tests added / updated under tests/
  • No test added: only the SBOM workflow and the dependency manifests change, and no otterdog code. The workflow
    was checked by running its steps locally (below).

Manual testing

  • GitHub API calls only stubbed / mocked in unit tests (no live testing)
  • Tested on a real GitHub organization (live GitHub API)

Checklist

  • Documentation updated (docs/, reference docs for new/changed settings, make docs builds): not applicable,
    no page describes the SBOM workflow or the Poetry groups.
  • Default template / examples updated if the config schema changed (otterdog/resources/defaults/otterdog-defaults.libsonnet):
    not applicable, neither the schema nor the defaults change.

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>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
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.

@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 sbom Poetry 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

@heurtematte heurtematte assigned lukpueh and netomi and unassigned lukpueh and netomi Dec 3, 2026
@heurtematte
heurtematte requested review from lukpueh and netomi December 3, 2026 09:38
@heurtematte
heurtematte merged commit 6bd7b24 into main Dec 3, 2026
16 checks passed
@heurtematte
heurtematte deleted the chore/sbom-cyclonedx-dependabot branch December 3, 2026 15:32

This branch was successfully deployed

1 active deployment
pull-request-preview — 33fbc351 Deployed Dec 3, 2026 by heurtematte via publish the preview #157
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants