diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ff3c02a..021001c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -26,6 +26,6 @@ jobs: steps: - name: Create PR run: | - gh pr create --repo ${{ github.event.inputs.botRepo }}/${{ github.event.inputs.repo }} --head ${{ github.ref }} --base ${{ github.event.inputs.upstreamRepo }}:main --title "${{ github.event.inputs.title }}" --body "${{ github.event.inputs.body }}" + gh pr create --repo ${{ github.event.inputs.upstreamRepo }}/${{ github.event.inputs.repo }} --head ${{ github.event.inputs.botRepo }}:${{ github.ref }} --base main --title "${{ github.event.inputs.title }}" --body "${{ github.event.inputs.body }}" env: - GITHUB_TOKEN: ${{ secrets.token }} + GITHUB_TOKEN: ${{ secrets.token }} \ No newline at end of file