Skip to content

ci: enforce wix gateway proxy in all workflows - #154

Open
dorraba wants to merge 1 commit into
base44:mainfrom
dorraba:ci/wix-gateway-proxy
Open

ci: enforce wix gateway proxy in all workflows#154
dorraba wants to merge 1 commit into
base44:mainfrom
dorraba:ci/wix-gateway-proxy

Conversation

@dorraba

@dorraba dorraba commented Aug 11, 2026

Copy link
Copy Markdown

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): pins registry.npmjs.org to the gateway, trusts the gateway CA, exports NODE_EXTRA_CA_CERTS / DENO_TLS_CA_STORE.
  • Injected as mandatory step 2 of all 8 jobs across 8 workflows. notify-slack-skill-sync.yml had no checkout (it only curls a Slack webhook) — it gets the minimal sparse-checkout: .github bootstrap. 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 hold contents: write + pull-requests: write. Same protection profile as the claude jobs in cli/vite-plugin.

Verification

  • This PR's own CI (Claude Code Review, README Check if triggered) starts through the gateway
  • Check Wix Gateway Proxy passes
  • After merge: dispatch wix gateway proxy check once; next sync-cli-skill / sync-sdk-skill run confirms the agent flows
  • After merge: consider making Wix Gateway Proxy a required status check

🤖 Generated with Claude Code

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>
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