From 63fd2ba998d0b4d15547bc21b68818a893d95054 Mon Sep 17 00:00:00 2001 From: Chris Apple <14171107+cjappl@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:54:42 -0800 Subject: [PATCH] Add new workflow to update homebrew formula on release (#342) --- .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