From 2882eb7725465d0c6d97a6c618527fd4a8793091 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 7 Feb 2026 10:49:58 -0500 Subject: [PATCH] ci: harden Homebrew bump workflow against GitHub API parse failures - Upgrade dawidd6/action-homebrew-bump-formula to v7 - set explicit git user_name/user_email so the action can avoid the fragile /user API lookup path seen in the release run 21750554832. Signed-off-by: Rui Chen --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b3950b..a06a12f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,10 +83,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Update Homebrew formula - uses: dawidd6/action-homebrew-bump-formula@75ed025ff3ad1d617862838b342b06d613a0ddf3 # v3.10.1 + uses: dawidd6/action-homebrew-bump-formula@1446dca236b0440c6f02723a3f14f13be2c04ab0 # v7 with: # Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes token: ${{secrets.GH_ACCESS_TOKEN}} + # Avoid extra /user GitHub API call in the action + user_name: github-actions[bot] + user_email: 41898282+github-actions[bot]@users.noreply.github.com # Formula name, required formula: phrase-cli # Optional, will be determined automatically