[PR #12210] feat: add automated upstream sync workflow #14119

Closed
opened 2026-02-16 18:18:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12210

State: closed
Merged: No


Summary

Automates the upstream sync process documented in ULTRAWORK_FORKFLOW.md.

Changes

  • Removed all upstream workflows (not applicable to this fork)
  • Added script/sync-upstream.ts - sync logic with safety gates
  • Added .github/workflows/sync-upstream.yml - daily sync at 8am UTC
  • Updated ULTRAWORK_FORKFLOW.md with automation documentation

How it works

  1. Daily at 8am UTC (or manual trigger via Actions)
  2. Mirrors origin/dev from upstream/dev (force-push)
  3. Creates PR to merge dev into ultrawork/dev
  4. Auto-merges if clean + CI passes
  5. Labels with sync-conflict if manual resolution needed

Before merging

  • Enable "Allow auto-merge" in repo settings
  • Optionally set branch protection on ultrawork/dev

Testing

After merge, trigger manually: Actions → Sync Upstream → Run workflow

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12210 **State:** closed **Merged:** No --- ## Summary Automates the upstream sync process documented in ULTRAWORK_FORKFLOW.md. ### Changes - **Removed** all upstream workflows (not applicable to this fork) - **Added** `script/sync-upstream.ts` - sync logic with safety gates - **Added** `.github/workflows/sync-upstream.yml` - daily sync at 8am UTC - **Updated** `ULTRAWORK_FORKFLOW.md` with automation documentation ### How it works 1. Daily at 8am UTC (or manual trigger via Actions) 2. Mirrors `origin/dev` from `upstream/dev` (force-push) 3. Creates PR to merge `dev` into `ultrawork/dev` 4. Auto-merges if clean + CI passes 5. Labels with `sync-conflict` if manual resolution needed ### Before merging - [ ] Enable "Allow auto-merge" in repo settings - [ ] Optionally set branch protection on `ultrawork/dev` ### Testing After merge, trigger manually: Actions → Sync Upstream → Run workflow
yindo added the pull-request label 2026-02-16 18:18:55 -05:00
yindo closed this issue 2026-02-16 18:18:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14119