From f8473a35b5b8e0be71d5204a7ce9a16b238a5263 Mon Sep 17 00:00:00 2001 From: Dmitry Filimonov Date: Wed, 11 Oct 2023 19:38:14 -0700 Subject: [PATCH] ci: fixes homebrew generate-formulas --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 054516d14d..084bff4148 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,9 +76,9 @@ jobs: repository: pyroscope-io/homebrew-brew - name: Update homebrew formulas run: | - git config --global url."https://x-access-token:$(echo "${GITHUB_TOKEN}" | xargs)@github.com/pyroscope-io/homebrew-brew".insteadOf "https://github.com/pyroscope-io/homebrew-brew" - git clone https://github.com/pyroscope-io/homebrew-brew - cd homebrew-brew + git config --global url."https://x-access-token:$(echo "${HOMEBREW_GITHUB_TOKEN}" | xargs)@github.com/pyroscope-io/homebrew-brew".insteadOf "https://github.com/pyroscope-io/homebrew-brew" + git clone https://github.com/pyroscope-io/homebrew-brew ../homebrew-brew + cd ../homebrew-brew make generate-formulas && git add Formula && git commit -m "chore: update formulas to ${}" && git push origin main env: - GITHUB_TOKEN: ${{ steps.brew-token.outputs.token }} + HOMEBREW_GITHUB_TOKEN: ${{ steps.brew-token.outputs.token }}