Skip to content

Commit 40a36bd

Browse files
committed
fix(ci): Authenticate Homebrew tap push with token
1 parent 4c871c7 commit 40a36bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ jobs:
407407
cd tap-repo
408408
git config user.name "github-actions[bot]"
409409
git config user.email "github-actions[bot]@users.noreply.github.com"
410+
git remote set-url origin "https://x-access-token:${HOMEBREW_TAP_TOKEN}@github.com/cameroncooke/homebrew-xcodebuildmcp.git"
410411
DETECTED_BRANCH="$(gh repo view cameroncooke/homebrew-xcodebuildmcp --json defaultBranchRef -q .defaultBranchRef.name 2>/dev/null || true)"
411412
if [ -n "$DETECTED_BRANCH" ]; then
412413
DEFAULT_BRANCH="$DETECTED_BRANCH"

0 commit comments

Comments
 (0)