Repository navigation
Add CI drift check for vendored Tiny Wire tokens - #3
Merged
Merged
Conversation
Runs scripts/check-tinywire-drift.sh on push and PR: checks out tiny-wire at the tag matching src/lib/.tinywire-version and verifies the vendored files match byte for byte. Verified locally against v1.6. Claude-Session: https://claude.ai/code/session_01VyfQifAbtgMPPViMovcgGx
✅ Deploy Preview for dialing ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Adds a GitHub Actions workflow (
.github/workflows/tinywire-drift.yml) that runsscripts/check-tinywire-drift.shon every push and pull request:src/lib/.tinywire-version(where the script keeps it — this consumer vendors intosrc/lib/).LinzLos/tiny-wireat the tag matching the pin (v1.6today — upstream tags releases asv<version>, confirmed viagit ls-remote --tags).TW_REPO_DIRpointed at the checkout, sinceactions/checkoutcan only place repos inside the workspace, not as a true filesystem sibling.Validated locally: cloned tiny-wire at
v1.6and ran the script against the current vendored files — passes ("OK — vendored Tiny Wire tokens are in sync (v1.6)").Note on the contract: because the checkout is pinned to the tag, this check verifies integrity (no hand-edited vendored files, pin consistent with its tagged source, pin pointing at a nonexistent tag fails at checkout) — it will not fail when upstream cuts a new release. If you want CI to flag "upstream moved, re-sync needed," change the checkout ref to
main; that's a one-line change.No vendored files or the pin were modified.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VyfQifAbtgMPPViMovcgGx
Generated by Claude Code