Remove 30 upstream-only workflows; retarget typecheck to main

Merged
AL
7mo ago
+3-3344

Summary

Cleans up the inherited GitHub Actions surface from anomalyco/opencode. Net result: only typecheck.yml (active CI on PRs) and release.yml (from PR #13, when merged) remain.

Removed (30 workflows)

Upstream secrets / SaaS infra:

  • beta.yml, daily-issues-recap.yml, daily-pr-recap.yml, docs-locale-sync.yml, docs-update.yml, duplicate-issues.yml, generate.yml, pr-management.yml, pr-standards.yml — need OPENCODE_API_KEY
  • notify-discord.yml, review.yml — Discord/Anthropic webhooks
  • deploy.yml — Cloudflare/Planetscale/Stripe
  • containers.yml — pushes to upstream's ghcr
  • publish.yml, stats.yml — already gated to anomalyco/opencode

Marketplace / publishing we don't own:

  • publish-github-action.yml, publish-vscode.yml, release-github-action.yml, sync-zed-extension.yml, storybook.yml

Community moderation (anomalyco-specific):

  • close-issues.yml, close-stale-prs.yml, compliance-close.yml, triage.yml, opencode.yml (uses anomalyco/opencode/github bot), vouch-check-issue.yml, vouch-check-pr.yml, vouch-manage-by-issue.yml

Nix flake (we don't ship):

  • nix-eval.yml, nix-hashes.yml

Upstream test surface:

  • test.yml — runs full unit + Playwright e2e against opencode and @opencode-ai/app packages we don't ship

Modified (1 workflow)

  • typecheck.yml: branch dev → main, runner blacksmith-4vcpu-ubuntu-2404 → ubuntu-24.04. Calls bun typecheck (already filtered to our packages via package.json).

Why delete vs disable-via-API

Disabling via gh workflow disable keeps inert YAMLs on disk and creates hidden state in GitHub's DB that's invisible to maintainers reading the repo. Deleting is honest: every remaining workflow is one we want.

Future syncs

When pulling from anomalyco/opencode, these deletions need to be re-applied (the upstream files will reappear in the merge). Consider a .gitattributes merge driver or a sync-time deletion script.