workflows: replace hub with gh

This commit is contained in:
Bo Anderson 2023-10-06 01:52:58 +01:00
parent fac3e99503
commit 6932c6568f
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ jobs:
- name: Open a pull request
if: steps.commit.outputs.pull_request == 'true'
run: hub pull-request --no-edit
run: gh pr create --fill
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}

View File

@ -79,7 +79,7 @@ jobs:
- name: Open a pull request
if: steps.update.outputs.pull_request == 'true'
run: hub pull-request --no-edit
run: gh pr create --fill
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}

View File

@ -132,7 +132,7 @@ jobs:
- name: Open a pull request
if: steps.update.outputs.pull_request == 'true'
run: hub pull-request --no-edit
run: gh pr create --fill
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}