Repository navigation
fix(ci): registry-refresh works under verified-signature rulesets - #6
Merged
Merged
Conversation
Three fixes from the first production runs: 1. Commits are created via the GraphQL createCommitOnBranch API, which GitHub signs automatically, instead of a bot git push (rejected with GH013 by the org's verified-signature rule; seen on compass). 2. Change detection stages first and inspects the index; git diff --quiet is blind to newly created files and produced a false 'already current' on digital-marketing. 3. shadcn failures are detected loudly (non-zero exit or 'Something went wrong', typically a missing tsconfig.json) instead of passing silently. Per-app branch names stop monorepo callers racing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
First production runs of the consumer auto-refresh surfaced three bugs:
git pushis always rejected. Fix: create the refresh commit through the GraphQLcreateCommitOnBranchAPI, which GitHub signs automatically (shows as Verified), then open the PR from that branch.git diff --quietignores untracked files, so freshly created vendored files were invisible. Fix: stage first (git add -A), detect via the index. dm's main still carries the navy tokens because of this; the rerun after this merge will produce its real refresh PRs.Also: per-app branch names (
design-refresh/registry-<workdir>) so monorepo callers (dm: marketing + admin) don't race on a single branch.Validated: YAML parses; the GraphQL payload builder handles adds/deletes/renames from
--name-status -z.🤖 Generated with Claude Code