cli/.github/workflows/homebrew-bump.yml
2025-04-04 21:45:54 -06:00

26 lines
650 B
YAML

name: homebrew-bump-debug
permissions:
contents: write
on:
workflow_dispatch:
inputs:
tag_name:
required: true
type: string
environment:
default: production
type: environment
jobs:
bump:
runs-on: ubuntu-latest
steps:
- name: Bump homebrew-core formula
uses: mislav/bump-homebrew-formula-action@942e550c6344cfdb9e1ab29b9bb9bf0c43efa19b
if: inputs.environment == 'production' && !contains(inputs.tag_name, '-')
with:
formula-name: gh
tag-name: ${{ inputs.tag_name }}
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_PR_PAT }}