Add a test workflow for homebrew bump investigations (#7951)

This commit is contained in:
William Martin 2023-09-06 15:02:58 +02:00 committed by GitHub
parent e5f499f301
commit 3d4df8800e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/homebrew.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: homebrewbump
permissions:
contents: write
on:
workflow_dispatch:
jobs:
homebrewbump:
environment: production
runs-on: ubuntu-latest
steps:
- name: Bump homebrew-core formula
uses: mislav/bump-homebrew-formula-action@v2
with:
formula-name: gh
formula-path: Formula/g/gh.rb
tag-name: v2.34.0
push-to: cli/homebrew-core
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_PR_PAT }}