The action's Run review step passes GITEA_URL as an environment variable to the review-bot binary. Now that the action supports both Gitea and GitHub/GHES, the name is misleading.
Problem
GITEA_URL suggests the binary only works with Gitea, but it's actually the generic VCS server URL used for both platforms.
Proposed Fix
Rename the env var in the Go binary from GITEA_URL to VCS_URL (or SERVER_URL)
Support GITEA_URL as a deprecated fallback for backwards compatibility
Update the action to pass the new env var name
Origin
Identified during PR #121 review (sonnet NIT #4, comment 21207).
## Context
The action's `Run review` step passes `GITEA_URL` as an environment variable to the `review-bot` binary. Now that the action supports both Gitea and GitHub/GHES, the name is misleading.
## Problem
`GITEA_URL` suggests the binary only works with Gitea, but it's actually the generic VCS server URL used for both platforms.
## Proposed Fix
1. Rename the env var in the Go binary from `GITEA_URL` to `VCS_URL` (or `SERVER_URL`)
2. Support `GITEA_URL` as a deprecated fallback for backwards compatibility
3. Update the action to pass the new env var name
## Origin
Identified during PR #121 review (sonnet NIT #4, comment 21207).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
The action's
Run reviewstep passesGITEA_URLas an environment variable to thereview-botbinary. Now that the action supports both Gitea and GitHub/GHES, the name is misleading.Problem
GITEA_URLsuggests the binary only works with Gitea, but it's actually the generic VCS server URL used for both platforms.Proposed Fix
GITEA_URLtoVCS_URL(orSERVER_URL)GITEA_URLas a deprecated fallback for backwards compatibilityOrigin
Identified during PR #121 review (sonnet NIT #4, comment 21207).