Create pull request between two existing branches

Hello!

I just wanted to check if anyone know of an existing action which can create a PR for two existing branches. The ones I’ve checked out seem to only create their own ones. What I want to create is something like this:

name: Create production PR
on: 
  workflow_dispatch:
    inputs:
      title:
        description: 'PR title'     
        required: true
        default: 'Development to production'

jobs:
  create:
    runs-on: ubuntu-latest
    steps:
    - uses: createpr
      with:
        title: ${{ github.event.inputs.title }}
        from: development
        to: production

Cheers!

Max

1 Like