Skip to content

feat(github): rebrand the GitHub Action and drop upstream artifacts - #39

Merged
quickbeard merged 4 commits into
mainfrom
rebrand-github-action
Jul 10, 2026
Merged

quickbeard merged 4 commits into
mainfrom
rebrand-github-action

Conversation

@quickbeard

@quickbeard quickbeard commented Jul 10, 2026 •

Copy link
Copy Markdown
Owner

What

  • Remove artifacts/ — upstream's Remotion marketing-video project (glm52-rise-video) with rendered MP4/PNG binaries committed. Nothing references it and it bloats every clone.
  • Rebrand github/ (the composite GitHub Action):
    • Installs the fork's codev-code npm package (version resolved from the npm registry, cached under ~/.codev-code) and runs codev github run instead of curling upstream's install script and running opencode github run.
    • Trigger mention defaults to /codev (action.yml mentions default; index.ts matcher likewise).
    • use_github_token defaults to true — the fork has no GitHub App, so upstream's OIDC token exchange can't work out of the box.
    • share defaults to false — the fork's server defaults share to disabled, so an unset SHARE on a public repo would have failed the run trying to share.
    • index.ts (the local-dev variant) spawns codev serve, creates codev/* branches, and rebrands visible strings.
    • README rewritten: manual setup targeting quickbeard/codev-code/github@main with GITHUB_TOKEN auth; mock-event examples use /codev.
    • Kept upstream on purpose (functional plumbing): api.opencode.ai exchange endpoints, the opencode-github-action OIDC audience, opencode.ai share URLs, the social-cards URL, @opencode-ai/sdk import, and internal identifiers.
  • DIVERGENCES.md — table rows for both changes, plus a "Known rebrand gaps" bullet for what this PR deliberately does not touch.

Known gaps (documented in DIVERGENCES.md)

  • codev github run's real logic lives in packages/opencode/src/cli/cmd/github.handler.ts, which still posts upstream-branded comment footers and creates opencode/* branches; codev github install still scaffolds upstream's workflow + GitHub App (README points at manual setup instead).
  • npm latest (1.17.16) was published from a pre-rename tree and still ships the codev-code bin, so the action's codev invocation needs the next release to work.

Testing

  • action.yml validated as YAML; the npm registry version-lookup step verified locally (resolves 1.17.16).
  • Trigger regex checked against /codev fix this, bare /codev, and non-matches (/codevx, a/codev).
  • Repo typecheck green (pre-push hook, 31/31 packages).

🤖 Generated with Claude Code

Follow-up in this PR

  • README.md fixes — the Divergence policy link now points at the renamed quickbeard/codev-hub repo, and the Development section runs bun run dev / bun run typecheck from the repo root (only bun test needs a package dir — the root test script is a deliberate guard).

quickbeard and others added 4 commits July 10, 2026 23:11
The artifacts/ tree is upstream's Remotion marketing-video project
(glm52-rise-video) with rendered MP4/PNG binaries committed; nothing
in the fork references it and it bloats every clone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The composite action now installs the fork's codev-code npm package
(version resolved from the npm registry, cached under ~/.codev-code)
and runs codev github run. The trigger mention defaults to /codev,
share defaults to false (the fork's share service defaults off), and
use_github_token defaults to true since the fork has no GitHub App.
index.ts (the local-dev variant) spawns codev serve, matches /codev,
creates codev/* branches, and rebrands visible strings. The README
setup targets quickbeard/codev-code/github@main with GITHUB_TOKEN auth.

Functional upstream endpoints stay: api.opencode.ai token exchange,
the opencode-github-action OIDC audience, opencode.ai share URLs, and
the @opencode-ai/sdk import.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The hub repo was renamed quickbeard/codev -> quickbeard/codev-hub.
bun run dev and bun run typecheck work from the repo root; only
bun test requires a package directory (root has a deliberate guard).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard
quickbeard merged commit 4bc7970 into main Jul 10, 2026
4 of 5 checks passed
@quickbeard
quickbeard deleted the rebrand-github-action branch July 10, 2026 16:23
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