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 }}