From 54c2d5b3e81e246ea3d46749a71bb2b0ea58b960 Mon Sep 17 00:00:00 2001 From: Vlad Mocanu Date: Wed, 25 Feb 2026 20:07:24 +0200 Subject: [PATCH] docs: add branch.ts platform fix to CLAUDE.md - Add branch.ts to key integration points (repos.getBranch on Forgejo) - Add claude.yml to CI workflows list Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5a13296..ee7c1f5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -53,12 +53,13 @@ All other `src/github/` modules work on Forgejo via Octokit REST as-is (permissi - `src/modes/tag/index.ts` — Data fetcher swap (`fetchForgejoData` vs `fetchGitHubData`) - `src/github/operations/comments/create-initial.ts` — Platform-aware spinner/URL format - `src/github/operations/comments/update-with-branch.ts` — Forgejo PR compare URL +- `src/github/operations/branch.ts` — Uses `repos.getBranch()` on Forgejo (Forgejo has `/git/refs` not `/git/ref`) - `src/github/validation/actor.ts` — Skipped on Forgejo (no bot accounts) - `src/mcp/install-mcp-server.ts` — Skips GitHub public MCP server on Forgejo **MCP server names stay the same** (`github_comment`, `github_ci`, etc.) even on Forgejo — changing them would require updating hardcoded tool name lists in `src/modes/tag/index.ts`. -**CI**: `.forgejo/workflows/` contains `ci.yml`, `test-action.yml`, and `upstream-sync.yml`. Unit tests run with `GITHUB_SERVER_URL=https://github.com` override on Forgejo runners. +**CI**: `.forgejo/workflows/` contains `claude.yml` (tag mode), `ci.yml`, `test-action.yml`, and `upstream-sync.yml`. Unit tests run with `GITHUB_SERVER_URL=https://github.com` override on Forgejo runners. ## Code Conventions