Repository navigation
ci: Validate the sandbox kits - #388
Merged
Merged
Conversation
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.
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.
A broken kit only shows up when someone creates a sandbox. This workflow runs
sbx kit validate --offlineon every kit under.sbx/, so it fails CI instead. It reports every invalid kit, not only the first one.The
sbxbinary 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 holdsuses: "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-releasestag points to the same commit, so with a SHA Dependabot would see nothing to update. This is why the line carries azizmor: ignore[unpinned-uses]comment.