ci: enforce wix gateway proxy in all workflows - #154
Open
dorraba wants to merge 1 commit into
Open
Conversation
Routes every npm-registry fetch in this repo's CI through the Wix npm embargo gateway, ported from base44-dev/vite-plugin#105. All jobs run on ubuntu-latest; the action is byte-identical to the vite-plugin/apper copy. 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.
What
Routes every npm-registry fetch in this repo's CI through the Wix npm embargo gateway — the same Shai-Hulud supply-chain protection already merged across the org (base44-dev/apper#19112, base44-dev/vite-plugin#105, base44/cli#592, …). All jobs run on
ubuntu-latest, so the action, CA cert, and checker are ported byte-identical from vite-plugin/apper..github/actions/wix-gateway-proxy(+ gateway CA cert): pinsregistry.npmjs.orgto the gateway, trusts the gateway CA, exportsNODE_EXTRA_CA_CERTS/DENO_TLS_CA_STORE.notify-slack-skill-sync.ymlhad no checkout (it only curls a Slack webhook) — it gets the minimalsparse-checkout: .githubbootstrap. The sync workflows' second checkout (cli/sdk repo into a subdirectory) is unaffected: the proxy runs right after the skills-repo checkout.check-wix-proxy.yml+ checker script + tests: CI fails if any job — present or future — skips the action. Verified locally: 8/8 jobs.wix-gateway-proxy-check.yml(manual dispatch) for connectivity debugging.Why this repo
Five of the six workflows run
anthropics/claude-code-action, which installs npm packages at job start (bun install of its bundled deps) and can run further npm installs from prompts; the readme-check and skill-sync agents also push commits and open PRs with elevated tokens. A poisoned npm dependency executing inside those jobs would holdcontents: write+pull-requests: write. Same protection profile as the claude jobs in cli/vite-plugin.Verification
Claude Code Review,README Checkif triggered) starts through the gatewayCheck Wix Gateway Proxypassessync-cli-skill/sync-sdk-skillrun confirms the agent flowsWix Gateway Proxya required status check🤖 Generated with Claude Code