Skip to content

poad/github-pull-request-auto-merge-enable-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

github-pull-request-auto-merge-enable-action

License CI GitHub release

Enables auto merge to Pull Request by octokit/graphql.js.

Useage

- name: Enables auto merge to Pull Request
  uses: poad/github-pull-request-auto-merge-enable-action@v2.1.0
  with:
      pull_request_number: { number of GitHub Pull Request }
      github_token: { GitHub token for Pull Request creation }
      owner: { name of repository owner }
      merge_method: { merge method }
      with_approve: { true or false }
Input Require Description
pull_request_number Y number of GitHub Pull Request
github_token N GitHub token for Pull Request creation
owner Y name of repository owner
merge_method N merge method. see GitHub API Docs
with_approve N true if the Pull Request is approved. see GitHub API Docs

Reference Information

Auto Merge Approve

The following parameters are not supported

  • authorEmail
  • clientMutationId
  • commitBody
  • commitHeadline

Outputs

not supported