Add homebrew-bump-debug workflow (#8114)

This commit is contained in:
William Martin 2023-10-03 16:45:44 +02:00 committed by GitHub
parent b775a9071f
commit 49ec484211
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/homebrew-bump.yml vendored Normal file
View file

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