From c8bca9f649387703c6d6be24a8500aee329167d7 Mon Sep 17 00:00:00 2001 From: Parteek Goyal Date: Thu, 29 Jun 2023 10:44:59 +0530 Subject: [PATCH] Update pull_request.yml --- .github/workflows/pull_request.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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