From 28e38e0c27e050f0542201bcd427c6e1e3bebf01 Mon Sep 17 00:00:00 2001 From: Seth Parker Date: Tue, 16 Jun 2026 06:38:42 -0400 Subject: [PATCH] gh: fix bump audit failing to resolve core formula dependencies setup-homebrew sets HOMEBREW_NO_INSTALL_FROM_API= (API mode) for all non-core-repo workflows. In API mode, `brew audit` cannot resolve dependencies like cmake and eigen, causing the bump to fail. Clone homebrew-core via core:true and disable API mode for the bump step so audit has access to formula files. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/bump.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 1ed7da2..e5ad347 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -23,12 +23,16 @@ jobs: steps: - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@main + with: + core: true - name: Configure git user uses: Homebrew/actions/git-user-config@main - name: Bump packages uses: Homebrew/actions/bump-packages@main + env: + HOMEBREW_NO_INSTALL_FROM_API: "1" with: token: ${{ secrets.BUMP_PR_PAT }} fork: false