Files
review-bot/.gitea
claw d4d34aa029
CI / test (pull_request) Successful in 18s
CI / review (anthropic--claude-4.6-sonnet, sonnet, SONNET_REVIEW_TOKEN) (pull_request) Successful in 28s
CI / review (gpt-5, gpt, GPT_REVIEW_TOKEN) (pull_request) Successful in 1m54s
CI / review (gpt-5, security, ., rodin/security-patterns, SECURITY_REVIEW.md, SECURITY_REVIEW_TOKEN) (pull_request) Successful in 2m11s
fix(action): detect VCS host type for version resolution and binary download
The composite action hardcoded Gitea-specific API paths and repo references
that broke when running on GitHub Enterprise Server.

Changes:
- Add 'action-repo' input to specify the repo hosting review-bot releases,
  separate from the 'repo' input (which is the target repo being reviewed)
- Auto-detect action repo from github.action_repository context variable,
  falling back to 'rodin/review-bot' for backward compatibility
- Detect VCS host type (Gitea vs GitHub) from server URL using hostname
  heuristic (URLs containing 'github' use /api/v3/, others use /api/v1/)
- Pass computed server_url and action_repo between steps via GITHUB_OUTPUT
  to avoid redundant computation
- Update descriptions to be host-agnostic

Fixes #120
2026-05-13 21:02:05 -07:00
..