Skip to content

Add /oc builder and daily upstream sync PR - #3

Merged
rshaw-mcs merged 2 commits into
mainfrom
claude/project-thread-p3n75a
Nov 11, 2026
Merged

rshaw-mcs merged 2 commits into
mainfrom
claude/project-thread-p3n75a

Conversation

@rshaw-mcs

@rshaw-mcs rshaw-mcs commented Nov 11, 2026 •

Copy link
Copy Markdown

Requested by Riley · project thread

  • AGENTS.md: fork rules for the builder (keep our wrangler.jsonc D1 config and README on upstream merges; public repo, nothing lab-internal).
  • .github/workflows/oc.yml: /oc builder as an inline copy of haimcslab/oc-builder's builder.yml. This repo is public, so it can't call the private oc-builder workflow, and it shouldn't run on the dock runner (fork PRs could reach it). It runs on ubuntu-latest, which is free for public repos.
  • .github/workflows/upstream-sync.yml: daily at 09:00 UTC (and on demand), merges OpenListTeam/OpenList-Worker main into upstream-sync/<date> and opens a PR. Our wrangler.jsonc and README.md win on conflict. Other conflicts open an issue instead. Skips if up to date or a sync PR is already open. Merging the PR deploys via Workers Builds.

Secrets to add (repo settings → Secrets and variables → Actions):

  • CF_WORKERS_AI_TOKEN: same value as the other repos.
  • SYNC_TOKEN: fine-grained PAT, this repo only, with Contents, Pull requests, Issues and Workflows read/write. GITHUB_TOKEN can't push upstream's workflow file changes.

Merge #2 (the current 49-commit upstream merge) first; this workflow handles later commits.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WHvpr67K6CjkST2CT8CNZe

Calls the shared builder in haimcslab/oc-builder on the dock self-hosted runner.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHvpr67K6CjkST2CT8CNZe
Public repos can't call the private oc-builder workflow and shouldn't use the
dock runner, so oc.yml is an inline copy on ubuntu-latest (free for public repos).
upstream-sync.yml opens a daily PR merging OpenListTeam main, keeping our
wrangler.jsonc and README.md on conflict.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WHvpr67K6CjkST2CT8CNZe
@rshaw-mcs rshaw-mcs changed the title Add /oc builder (caller workflow and AGENTS.md) Add /oc builder and daily upstream sync PR Nov 11, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 7939b36 2026-11-11T21:56:13.897Z Visit the dashboard ↗

@rshaw-mcs
rshaw-mcs merged commit 5b88dd8 into main Nov 11, 2026
1 check passed
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.

3 participants