From 1656e1a1f595a942f4a56fd9b641d47b7eba15ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez?= Date: Fri, 11 Sep 2026 12:20:41 -0700 Subject: [PATCH] get-baton: install the CLI from baton-sdk releases (v2 backport) The baton CLI moved into baton-sdk; the conductorone/baton repo is archived at v0.4.5, and that CLI cannot open the c1z files that baton-sdk v0.30.0 connectors write ("c1z: invalid file"). Resolve the latest release from baton-sdk instead, as v4 already does. The v3 sync-test and account-provisioning actions call get-baton@v2, so this line is the one most connectors resolve. Co-Authored-By: Claude Fable 5.1 --- actions/get-baton/get-baton.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/get-baton/get-baton.sh b/actions/get-baton/get-baton.sh index acee7ac..d1d712c 100755 --- a/actions/get-baton/get-baton.sh +++ b/actions/get-baton/get-baton.sh @@ -13,8 +13,8 @@ if [ "${ARCH}" = "x86_64" ]; then ARCH="amd64" fi -RELEASES_URL="https://api.github.com/repos/conductorone/baton/releases/latest" -BASE_URL="https://github.com/conductorone/baton/releases/download" +RELEASES_URL="https://api.github.com/repos/conductorone/baton-sdk/releases/latest" +BASE_URL="https://github.com/conductorone/baton-sdk/releases/download" curl_opts=(--fail-with-body "${RELEASES_URL}") if [ -n "${GITHUB_TOKEN:-}" ]; then