diff --git a/.github/workflows/listener.yml b/.github/workflows/listener.yml index a0a9f5876..5339b0b15 100644 --- a/.github/workflows/listener.yml +++ b/.github/workflows/listener.yml @@ -32,7 +32,7 @@ jobs: - name: Open Pull Request if: steps.replace-specs-snippets.outputs.needs_pr run: | - hub pull-request --base Bandwidth:main $(if ${{ github.event.client_payload.draftPr }} ; then echo "-d" ; fi) -m '${{ github.event.client_payload.branchName }}' -m 'Update API specs from upstream api-specs repository. Opened By: @${{ github.event.client_payload.author }}' + gh pr create -B main $(if ${{ github.event.client_payload.draftPr }} ; then echo "-d" ; fi) -t '${{ github.event.client_payload.branchName }}' -b 'Update API specs from upstream api-specs repository. Opened By: @${{ github.event.client_payload.author }}' env: GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}