/merge-pull-request-action

A simple GitHub Action for merging pull requests

Primary LanguageJavaScript

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