Skip to main content
createGitHubPullRequest opens a pull request from a source branch into a target branch.
automations/create-github-pull-request.automation.ts
owner, repository, non-empty head, base, and title are required. Prefix head with owner: for a fork. Optional fields are Markdown body, draft, maintainerCanModify, and account. Inputs accept compatible signals. Returns the complete created pull request. GitHub rejects missing branches, identical source and target commits, and branch combinations the installation cannot access.