[PR #11190] feat: add beta branch sync workflow for contributor PRs #13684

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

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

State: closed
Merged: Yes


Summary

Adds a GitHub workflow that automatically syncs the beta branch with contributor PRs.

Triggers

  • When dev branch is updated (push)
  • When PRs with the contributor label are opened, updated, or labeled

Behavior

  1. Resets beta branch to match dev
  2. Finds all open, non-draft PRs with the contributor label (sorted oldest to newest)
  3. Cherry-picks each PR's commits onto beta
  4. Skips any PRs that introduce merge conflicts
  5. Force pushes the result to the beta branch

Files Added

  • .github/workflows/beta-sync.yml - GitHub Actions workflow
  • script/beta-sync.ts - TypeScript script that handles the sync logic
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11190 **State:** closed **Merged:** Yes --- ## Summary Adds a GitHub workflow that automatically syncs the `beta` branch with contributor PRs. ### Triggers - When `dev` branch is updated (push) - When PRs with the `contributor` label are opened, updated, or labeled ### Behavior 1. Resets `beta` branch to match `dev` 2. Finds all open, non-draft PRs with the `contributor` label (sorted oldest to newest) 3. Cherry-picks each PR's commits onto beta 4. Skips any PRs that introduce merge conflicts 5. Force pushes the result to the `beta` branch ### Files Added - `.github/workflows/beta-sync.yml` - GitHub Actions workflow - `script/beta-sync.ts` - TypeScript script that handles the sync logic
yindo added the pull-request label 2026-02-16 18:18:31 -05:00
yindo closed this issue 2026-02-16 18:18:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13684