Bring a pull request branch up to date with base
One step with GitHub. We can help you get access.
Get something done
Bring a pull request branch up to date with base
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Pulls API lets you bring a pull request branch up to date with base in a single step (PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch). capabilities.work can help you get signed up and connected.
- Can I update a pull request's branch with the latest changes from its base branch?
- Is there a safeguard so the update fails if the PR head changed underneath me?
Say it to your AI assistant
- Update the branch of PR #{pull_number} in {owner}/{repo} with the latest base changes.
- Merge base into pull request {pull_number} of {owner}/{repo} only if its head is {expected_head_sha}.
For your developer
PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch in GitHub v3 REST Pulls API. Full spec on APIs.io.