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 <noreply@anthropic.com>
This commit is contained in:
Vlad MocanuandClaude Opus 4.6 committed 2026-02-25 20:07:24 +02:00
1 parent c88782bd20
commit 54c2d5b3e8
1 file changed
+2 -1
+2 -1
View File
@@ -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/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/create-initial.ts` — Platform-aware spinner/URL format
- `src/github/operations/comments/update-with-branch.ts` — Forgejo PR compare URL - `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/github/validation/actor.ts` — Skipped on Forgejo (no bot accounts)
- `src/mcp/install-mcp-server.ts` — Skips GitHub public MCP server on Forgejo - `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`. **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 ## Code Conventions