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

Merge Pull Request

v1.3.0

Merge Pull Request

git-pull-request

Merge Pull Request

A simple GitHub Action for merging pull requests

Installation

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

              

- name: Merge Pull Request

uses: juliangruber/[email protected]

Learn more about this action in juliangruber/merge-pull-request-action

Choose a version

merge-pull-request-action

A simple GitHub Action for merging pull requests.

Usage

steps:
  - name: Merge Pull Request
    uses: juliangruber/merge-pull-request-action@v1
    with:
      github-token: ${{ secrets.GITHUB_TOKEN }}
      number: 1
      method: squash # merge rebase
      repo: juliangruber/octokit-action

Action Outputs

The following outputs can be used by subsequent workflow steps.

  • commit - The commit sha of this PR merged

Related

License

MIT