Skip to main content
updateGitHubPullRequest changes a pull request’s title, body, target branch, state, or maintainer permissions.
automations/update-github-pull-request.automation.ts
owner, repository, and positive integer pullRequestNumber are required. Optional replacements are base, body, maintainerCanModify, state ("open" or "closed"), title, and account. Inputs accept compatible signals. Returns the complete updated pull request. Changing base can change the diff and mergeability; GitHub validates branch access and state transitions.