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