Create pull request
Propose merging one branch into another.
Command in the GitHub toolkit · id ooa.github/create_pull_request · 9 inputs (6 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://api.github.com | API address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3. |
| Token | Credential | Yes | Personal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Owner | String | Yes | User or organization that owns the repository, e.g. acme-corp. | |
| Repo | String | Yes | Repository name without the owner, e.g. billing-service. | |
| Title | String | Yes | Title of the pull request. | |
| Source branch | String | Yes | Branch with the changes. For a fork use owner:branch. | |
| Target branch | String | Yes | Branch to merge into. | |
| Body | String | No | Description in Markdown. | |
| Draft | Boolean | No | false | Open as a draft that cannot be merged yet. |
Outputs
| Output | Type | What it is |
|---|---|---|
| number | Number | Pull request number. |
| url | String | Web address of the pull request. |