Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-pull-request

GitHub Action

Just Create A Pull Request

1.0.0

Just Create A Pull Request

git-pull-request

Just Create A Pull Request

Does what it says on the tin, create a pull request, easy and simple

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Just Create A Pull Request

uses: thomaseizinger/create-pull-request@1.0.0

Learn more about this action in thomaseizinger/create-pull-request

Choose a version

Create pull request

Does what it says on the tin - creates a pull request, nothing else.

Usage

name: "Create PR"
on: push

jobs:
  create-pr-on-push:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    
    - name: Create pull request
      uses: thomaseizinger/create-pull-request@v1
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        branch: 
        base: master
        title: "An automatically created PR!"
        reviewers: ${{ github.event.issue.user.login }}
        body: |
          Resolves #${{ github.event.issue.number }}