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 <noreply@anthropic.com>
This commit is contained in:
parent
022c1f08b1
commit
c4730f7a26
1 changed files with 4 additions and 1 deletions
5
.github/workflows/alpha-release.yml
vendored
5
.github/workflows/alpha-release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue