From 9166f95a8374ee6136e3763b600d9ca1af0e3658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Va=C5=A1ko?= Date: Thu, 16 Jul 2026 10:02:33 +0200 Subject: [PATCH] fix(release): unblock homebrew Linux smoke test on untrusted-tap gate The `test-install` Homebrew (Linux) leg failed with "Refusing to load formula ... from untrusted tap". Some homebrew/brew image builds ship HOMEBREW_REQUIRE_TAP_TRUST set, which blocks loading formulae from a third-party tap. Unset it in the smoke test. Version-independent (the `brew trust` command the error suggests does not exist in current Homebrew 4.6.20) and mirrors the default end-user environment, where the var is unset. Homebrew tap push, chocolatey checksum, and winget bootstrap are handled separately by #476 (merged) and #485. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release-kbagent.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-kbagent.yml b/.github/workflows/release-kbagent.yml index 8f0f5c08..125fb961 100644 --- a/.github/workflows/release-kbagent.yml +++ b/.github/workflows/release-kbagent.yml @@ -484,6 +484,12 @@ jobs: run: | docker run --rm -e VERSION homebrew/brew bash -c ' set -e + # Some homebrew/brew image builds ship HOMEBREW_REQUIRE_TAP_TRUST set, which makes + # brew refuse to load formulae from a third-party tap ("Refusing to load formula + # ... from untrusted tap"). Unset it so the smoke test can install: this is + # version-independent (the suggested `brew trust` command does not exist across all + # brew versions) and mirrors the default end-user environment where the var is unset. + unset HOMEBREW_REQUIRE_TAP_TRUST brew tap keboola/keboola-cli2 https://github.com/keboola/homebrew-keboola-cli2 brew install keboola-cli2 kbagent --version | grep -q "${VERSION}"