capabilities.work

Merge a pull request

One step with Harness. We can help you get access.

Get something done

Merge a pull request

with Harness
Works with AI assistants

Use Harness: its Harness Pullreq API lets you merge a pull request in a single step (POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/merge). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I merge a pull request right now with a squash or rebase?
  • Can I dry-run a merge to see if a PR is mergeable before doing it?
  • Can an admin bypass branch protection rules when merging a PR?
Say it to your AI assistant
  • Merge PR #{pullreq_number} in {repo_identifier} using the {method} method.
  • Do a dry-run merge of pull request {pullreq_number} in repo {repo_identifier} and tell me if it would succeed.
For your developer

POST /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/merge in Harness Pullreq API. Full spec on APIs.io.