Complete pull request
Merge an active pull request into its target branch.
Command in the Azure DevOps toolkit · id ooa.azure_devops/complete_pull_request · 8 inputs (5 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | Yes | Organization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server. | |
| Personal access token | Credential | Yes | Personal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Project | String | Yes | Project name, e.g. Finance Portal. | |
| Repository | String | Yes | Repository name or id, e.g. finance-portal-api. | |
| Pull request ID | Number | Yes | Pull request id. | |
| Merge strategy | String | No | noFastForward | noFastForward (merge commit), squash, rebase or rebaseMerge. |
| Delete source branch | Boolean | No | false | Delete the source branch after merging. |
| Merge commit message | String | No | Message for the merge commit. |
Outputs
| Output | Type | What it is |
|---|---|---|
| status | String | Status after the request, normally completed. |
| merge_status | String | Merge result, e.g. succeeded, queued or conflicts. |