feat(#125): rename GITEA_URL to VCS_URL with deprecated fallback #126

Merged
rodin merged 2 commits from issue-125 into main 2026-05-14 06:38:54 +00:00
Showing only changes of commit b80a1517ed - Show all commits
+1 -1
View File
1
@@ -116,7 +116,7 @@ runs:
REPO="${{ inputs.repo || 'rodin/review-bot' }}"
if [ "${{ inputs.version }}" = "latest" ]; then
VERSION=$(curl -sSf "${BASE_URL}/api/v1/repos/${REPO}/releases?limit=1" \
| python3 -c "import sys, json; releases = json.load(sys.stdin); print(releases[0]['tag_name'] if releases else '')")
| python3 -c "import sys, json; releases = json.load(sys.stdin); print(releases[0]['tag_name'] if releases else '')")
if [ -z "$VERSION" ]; then
echo "Failed to determine latest version" >&2
exit 1