Skip to content

Commit e94f4ec

Browse files
committed
Sync protocol: re-delete upstream-only workflows after merge
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.).
1 parent 436c741 commit e94f4ec

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

opencode-sync.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,16 @@ Files we might have Yellow-zone modifications in (run the audit in step 5):
5858
- `packages/opencode/src/index.ts`, `packages/opencode/src/cli/cmd/temporary.ts``scriptName("bcode")` instead of `"opencode"`
5959
- USER_AGENT sites, banner (`ui.ts`, `logo.ts`), mDNS domain
6060

61+
### 3a. Re-delete upstream-only workflows
62+
63+
Upstream ships 32 workflows we deleted in PR #14 (Discord webhooks, marketplace publishing, SaaS deploy, OPENCODE_API_KEY-gated automation, community moderation, Nix flake, upstream test surface). The merge will reintroduce them. Re-delete:
64+
65+
```sh
66+
rm -f .github/workflows/{beta,close-issues,close-stale-prs,compliance-close,containers,daily-issues-recap,daily-pr-recap,deploy,docs-locale-sync,docs-update,duplicate-issues,generate,nix-eval,nix-hashes,notify-discord,opencode,pr-management,pr-standards,publish,publish-github-action,publish-vscode,release-github-action,review,stats,storybook,sync-zed-extension,test,triage,vouch-check-issue,vouch-check-pr,vouch-manage-by-issue}.yml
67+
```
68+
69+
Keepers: `release.yml` (ours) and `typecheck.yml` (retargeted to `main`). If upstream adds a new workflow file we haven't classified yet, leave it on disk and flag it in the PR body for human review.
70+
6171
### 4. Regenerate lockfile and verify
6272

6373
```sh

0 commit comments

Comments
 (0)