Skip to content

Remove 30 upstream-only workflows; retarget typecheck to main#14

Merged
Alezander9 merged 1 commit intomainfrom
cleanup/remove-upstream-workflows
Apr 27, 2026
Merged

Remove 30 upstream-only workflows; retarget typecheck to main#14
Alezander9 merged 1 commit intomainfrom
cleanup/remove-upstream-workflows

Conversation

@Alezander9
Copy link
Copy Markdown
Member

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 devmain, runner blacksmith-4vcpu-ubuntu-2404ubuntu-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.

Removes 30 inherited workflows from anomalyco/opencode that don't apply to
this fork (Discord webhooks, marketplace publishing, SaaS deploy infra,
community moderation bots, OPENCODE_API_KEY-gated automations, Nix flake,
Storybook). All would either fail loudly on missing secrets or remain
inert because they target dev branch / upstream repo.

Removes test.yml because it runs upstream's full unit + Playwright e2e
against packages we do not ship (opencode, @opencode-ai/app).

Retargets typecheck.yml from dev to main and switches off Blacksmith
self-hosted runners. Calls 'bun typecheck' which is already filtered to
our packages via the root package.json command.
@github-actions
Copy link
Copy Markdown

The following comment was made by an LLM, it may be inaccurate:

@Alezander9 Alezander9 merged commit 247b4c3 into main Apr 27, 2026
6 of 8 checks passed
@Alezander9 Alezander9 deleted the cleanup/remove-upstream-workflows branch April 27, 2026 04:59
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 32 files

Alezander9 added a commit that referenced this pull request Apr 27, 2026
Adds step 3a immediately after the upstream merge in step 3. Without it,
every sync from anomalyco/opencode reintroduces the 30 workflows we
deleted in PR #14 (Discord, marketplace, SaaS deploy, moderation, etc.).
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