Repository navigation
ci: inline supply-chain workflows so they run on this public repo - #149
Merged
Merged
Conversation
The workflow called reusable workflows in the private stackbilt_llc repo, which a public repo can't use, so every run failed before any job started. Port the jobs here, following Stackbilt-dev/charter#362: - SBOM: CycloneDX via @cyclonedx/cdxgen installed from a committed lockfile in .github/sbom/, a sanity check on the result, hash and artifact upload. - Dependency review on pull requests, failing on high severity, with a read-only token. The CodeBeast receipt step is dropped: it needs a secret this public repo shouldn't rely on. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- SBOM tool: override undici to 7.30.2 and refresh fast-uri to 3.1.9 (files match Stackbilt-dev/charter after #425); the old 7.29.1 override was still affected by GHSA-2m5v-pch6-74hx and other high advisories. - Verify step: fail if any package that only the generator's lockfile contains appears in the SBOM, not just the generator itself. - Dependabot for the SBOM tool and the pinned actions. - persist-credentials: false, job timeouts, a concurrency group and exact version comments on the pins; drop the checkout dependency review doesn't need. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dependency review flagged body-parser 2.3.0 (GHSA-27r3-jxmh-p828, high) in .github/sbom/package-lock.json. cdxgen 12.8.5 pins it as an optional dependency, so npm ci --omit=optional never installs it, but dependency review checks the whole lockfile. Co-Authored-By: Claude Opus 5.5 <[email protected]>
stackbilt-admin
pushed a commit
to Stackbilt-dev/charter
that referenced
this pull request
Nov 9, 2026
….4.0 cdxgen 12.8.5 pins body-parser 2.3.0 (GHSA-27r3-jxmh-p828, high). It is an optional dependency that `npm ci --omit=optional` skips, but dependency review checks the whole lockfile, so a PR that touches it would fail. Matches Stackbilt-dev/llm-providers#149. Co-Authored-By: Claude Opus 5.5 <[email protected]>
stackbilt-admin
added a commit
to Stackbilt-dev/charter
that referenced
this pull request
Nov 9, 2026
* fix(supply-chain): override the SBOM tool's undici to 7.30.2 The pinned SBOM generator's package.json overrides undici to 7.29.1, which the workflow comment calls patched. undici 7.0.0 through 7.30.0 is affected by GHSA-2m5v-pch6-74hx (high) among other advisories; the first fixed release is 7.30.1. Bump the override to 7.30.2, regenerate the lockfile (only the undici entry changes) and correct the comment. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(supply-chain): review fixes for the undici override - dependabot.yml: the override now holds undici at 7.30.2, not 7.29.1. - supply-chain.yml: the override covers several undici advisories, not one. - Refresh fast-uri to 3.1.9 in the SBOM tool lockfile, clearing its moderate advisory. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(supply-chain): override the SBOM tool's optional body-parser to 2.4.0 cdxgen 12.8.5 pins body-parser 2.3.0 (GHSA-27r3-jxmh-p828, high). It is an optional dependency that `npm ci --omit=optional` skips, but dependency review checks the whole lockfile, so a PR that touches it would fail. Matches Stackbilt-dev/llm-providers#149. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Kurt Overmier <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 9, 2026
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.
Summary
Fixes #137.
supply-chain.ymlcalled reusable workflows inStackbilt-dev/stackbilt_llc, which is private with Actions accessnone. A public repo can't call workflows from a private one, so all 153 runs since 2026-05-20 failed before any job started.This copies the jobs into the repo, following Stackbilt-dev/charter#362, which fixed the same problem there.
Repo setting changed: the dependency graph was off, which dependency review requires. It is now on, with Dependabot alerts (enabling alerts is what turned the graph on). Dependabot security-update PRs stay off.
Jobs
mainand PRs):npm ci --ignore-scripts, with the same checkout and setup-node pins asci.yml(persist-credentials: false).@cyclonedx/cdxgen12.8.5 from the committed lockfile in.github/sbom/, outside the checkout so the tool isn't scanned. Every dependency is pinned with an integrity hash. undici is overridden to 7.30.2, since cdxgen pins 7.28.0 and undici through 7.30.0 has several high advisories (GHSA-2m5v-pch6-74hx and others). fast-uri is refreshed to 3.1.9. body-parser, an optional cdxgen dependency thatnpm ci --omit=optionalnever installs but dependency review still checks, is overridden from 2.3.0 to 2.4.0 (GHSA-27r3-jxmh-p828, high). Apart from that override, the files match charter's after fix(supply-chain): override the SBOM tool's undici to 7.30.2 charter#425.npm auditon the full tool lockfile, optional dependencies included: 0 high, 5 moderate (glob, minimatch and@npmcli/*, which cdxgen pins exactly).package-lock.json, then checks it:@stackbilt/llm-providers, at least 100 components;typescript,vitest,esbuildand@cloudflare/workers-typespresent;actions/dependency-review-actionv5.0.0,fail-on-severity: high, with a read-only token and no checkout, so it also runs on fork PRs once their CI run is approved.Dependabot
New
.github/dependabot.yml: weekly updates for the SBOM tool (grouped) and for the pinned GitHub Actions. Dependabot doesn't update the undici override; a comment says to review it by hand when cdxgen is bumped. The package's own dev dependencies aren't included.Dropped
SBOM_INGEST_SECRET, which a public repo shouldn't rely on (and fork PRs never get).pull-requests: writeandsecrets: inherit, which nothing here needs.Validation
@stackbilt/llm-providers1.27.0. The verify step passes on it, and fails when a generator-only package (cheerio) is added.Not in this PR
Still to check for #137 after merge
main.🤖 Generated with Claude Code