From 49ec4842116f67fc672c01d393953cf0af22f279 Mon Sep 17 00:00:00 2001 From: William Martin Date: Tue, 3 Oct 2023 16:45:44 +0200 Subject: [PATCH] Add homebrew-bump-debug workflow (#8114) --- .github/workflows/homebrew-bump.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/homebrew-bump.yml diff --git a/.github/workflows/homebrew-bump.yml b/.github/workflows/homebrew-bump.yml new file mode 100644 index 000000000..19ecd9d5c --- /dev/null +++ b/.github/workflows/homebrew-bump.yml @@ -0,0 +1,24 @@ +name: homebrew-bump-debug + +permissions: + contents: write + +on: + workflow_dispatch: + inputs: + tag_name: + required: true + type: string + +jobs: + bump: + runs-on: ubuntu-latest + steps: + - name: Bump homebrew-core formula + uses: mislav/bump-homebrew-formula-action@v3 + if: inputs.environment == 'production' && !contains(inputs.tag_name, '-') + with: + formula-name: gh + tag-name: ${{ inputs.tag_name }} + env: + COMMITTER_TOKEN: ${{ secrets.HOMEBREW_PR_PAT }}