From 091d2f77ffc19f517f11e3401dcf644324b586b0 Mon Sep 17 00:00:00 2001 From: Chris Apple <14171107+cjappl@users.noreply.github.com> Date: Fri, 2 Feb 2024 10:28:08 -0800 Subject: [PATCH] Add new workflow to update homebrew formula on release (#341) * Add new homebrew workflow * Review comments * Review comments --- .github/workflows/brew.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/brew.yaml diff --git a/.github/workflows/brew.yaml b/.github/workflows/brew.yaml new file mode 100644 index 0000000..7530133 --- /dev/null +++ b/.github/workflows/brew.yaml @@ -0,0 +1,20 @@ +name: Homebrew + +on: + workflow_run: + workflows: + - "Release" + types: + - completed + +jobs: + brew: + runs-on: ubuntu-latest + steps: + - name: Update Homebrew formula + uses: dawidd6/action-homebrew-bump-formula@v3 + with: + # Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes + token: ${{secrets.BREW_TOKEN}} + # Formula name, required + formula: forgit