Skip to content

ci: Validate the sandbox kits - #388

Merged
theofidry merged 2 commits into
mainfrom
ci/validate-sbx-kits
Nov 4, 2026
Merged

theofidry merged 2 commits into
mainfrom
ci/validate-sbx-kits

Conversation

@theofidry

@theofidry theofidry commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

A broken kit only shows up when someone creates a sandbox. This workflow runs sbx kit validate --offline on every kit under .sbx/, so it fails CI instead. It reports every invalid kit, not only the first one.

The sbx binary is cached per version, so it is only downloaded when the version changes.

Dependabot keeps the version up to date. It only updates uses: references, so the workflow has a placeholder job that never runs and holds uses: "docker/sbx-releases@v0.51.0". The validation job reads the version from that line.

That reference uses the tag, not a pinned SHA like our other actions: every sbx-releases tag points to the same commit, so with a SHA Dependabot would see nothing to update. This is why the line carries a zizmor: ignore[unpinned-uses] comment.

A broken kit only shows up when someone creates a sandbox. This workflow runs `sbx kit validate --offline` on every kit under `.sbx/`, so it fails CI instead. It reports every invalid kit, not only the first one.

The `sbx` binary is cached per version, so it is only downloaded when the version changes.

Dependabot keeps the version up to date. It only updates `uses:` references, so the workflow has a placeholder job that never runs and holds `uses: "docker/sbx-releases@v0.51.0"`. The validation job reads the version from that line.

That reference uses the tag, not a pinned SHA like our other actions: every `sbx-releases` tag points to the same commit, so with a SHA Dependabot would see nothing to update. This is why the line carries a `zizmor: ignore[unpinned-uses]` comment.
@theofidry
theofidry added this pull request to stack #392 November 4, 2026 11:26
@theofidry
theofidry marked this pull request as ready for review November 4, 2026 11:37
@theofidry
theofidry merged commit aaa16ca into main Nov 4, 2026
23 checks passed
@theofidry
theofidry deleted the ci/validate-sbx-kits branch November 4, 2026 11:39
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