Skip to content

chore: untrack sbom.cdx.json — the template shipped the file its own .gitignore forbids - #168

Merged
rubenvdlinde merged 1 commit into
developmentfrom
chore/untrack-sbom
Aug 24, 2026
Merged

chore: untrack sbom.cdx.json — the template shipped the file its own .gitignore forbids#168
rubenvdlinde merged 1 commit into
developmentfrom
chore/untrack-sbom

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

.gitignore has listed sbom.cdx.json since line 102 — but the file was already tracked when that rule landed, and gitignore does not apply to tracked files. So the template has been shipping a committed SBOM that the same repository declares should never be committed, and every app scaffolded from it inherited the file.

That is why scholiq, decidesk and openbuild each carry one: all three were scaffolded in May 2026, none has regenerated it since, and their lockfiles have moved many times underneath.

The SBOM is generated per run by the shared quality workflow, published as the sbom-<app-name> artifact, and — as of ConductionNL/.github#572 — attached to stable releases. A committed copy is stale the moment a lockfile moves while still looking authoritative.

hermiq already gitignores it, with the comment "SBOM is published as release asset (see SECURITY.md), not stored in repo".

13,031 lines removed. No rule change needed — the rule was already correct, only the tracking was wrong.

Refs ConductionNL/.github#572, ConductionNL/hydra#617.

.gitignore has listed sbom.cdx.json since line 102, but the file was already
tracked when the rule landed, and gitignore does not apply to tracked files.
So the template shipped a committed SBOM that the same repo declares should
never be committed, and every app scaffolded from it inherited the file.

The SBOM is generated per run by the shared quality workflow, published as
the sbom-<app> artifact and attached to stable releases. A committed copy is
stale the moment a lockfile moves. This one dated from the template's own
scaffold and had not been regenerated since.

Refs ConductionNL/.github#572, ConductionNL/hydra#617
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/nextcloud-app-template @ e1d6562

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-specs
check-manifest
format
composer ✅ 103/103
npm ✅ 737/737
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman
Playwright
Hydra gates

Quality workflow — 2026-08-24 22:44 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit 3fe1e98 into development Aug 24, 2026
81 checks passed
@rubenvdlinde
rubenvdlinde deleted the chore/untrack-sbom branch August 24, 2026 22:53
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.

1 participant