From 24d0c4f9707b21bdc4704e371a9bc5c0a60e587d Mon Sep 17 00:00:00 2001 From: Parteek Goyal Date: Wed, 12 Jul 2023 16:07:33 +0530 Subject: [PATCH] Revert "Update pull_request.yml" --- .github/workflows/pull_request.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e28b47b..021001c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -10,9 +10,12 @@ on: description: 'description of example' required: true upstreamRepo: - description: 'Upstream repo name' + description: 'Upstream repo' required: true - account: + botRepo: + description: 'bot repo' + required: true + repo: description: 'repo name' required: true @@ -23,6 +26,6 @@ jobs: steps: - name: Create PR run: | - 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 }}" + 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 }} \ No newline at end of file