From bdbfb915fb02695aa86e3b8d881e774d9553f9e3 Mon Sep 17 00:00:00 2001 From: Parteek Goyal Date: Fri, 30 Jun 2023 23:17:15 +0530 Subject: [PATCH] Update pull_request.yml --- .github/workflows/pull_request.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 021001c..e28b47b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,12 +10,9 @@ on: description: 'description of example' required: true upstreamRepo: - description: 'Upstream repo' + description: 'Upstream repo name' required: true - botRepo: - description: 'bot repo' - required: true - repo: + account: description: 'repo name' required: true @@ -26,6 +23,6 @@ jobs: steps: - name: Create PR run: | - 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 }}" + gh pr create --repo ${{ github.event.inputs.account }}/${{ github.event.inputs.upstreamRepo }} --head ${{ github.event.inputs.account }}:${{ github.ref }} --base main --title "${{ github.event.inputs.title }}" --body "${{ github.event.inputs.body }}" env: GITHUB_TOKEN: ${{ secrets.token }} \ No newline at end of file