From 313d6a1cd544678658cebb504783b232eac6fc8f Mon Sep 17 00:00:00 2001 From: Snider Date: Thu, 5 Feb 2026 01:45:55 +0000 Subject: [PATCH] fix(ci): configure git auth for homebrew-tap push (#326) Set remote URL with x-access-token so git push can authenticate to the homebrew-tap repository using HOMEBREW_TAP_TOKEN. Co-authored-by: Claude Opus 4.5 --- .github/workflows/alpha-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/alpha-release.yml b/.github/workflows/alpha-release.yml index 1dabad9d..3a8825ef 100644 --- a/.github/workflows/alpha-release.yml +++ b/.github/workflows/alpha-release.yml @@ -171,8 +171,11 @@ jobs: LINUX_AMD64=$(cat dist/core-linux-amd64.tar.gz.sha256) LINUX_ARM64=$(cat dist/core-linux-arm64.tar.gz.sha256) - # Clone tap repo + # Clone tap repo (configure auth for push) gh repo clone host-uk/homebrew-tap /tmp/tap -- --depth=1 + cd /tmp/tap + git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/host-uk/homebrew-tap.git" + cd - mkdir -p /tmp/tap/Formula # Write formula