Merge Pull Request
Use the Merge Pull Request action to merge a pull request into an upstream branch.
Complete the following steps to use the Merge Pull Request action in your workflow:
1. Drag the Merge Pull Request action under Github to the canvas, place the pointer on the action, and then click or double-click the action. The Merge Pull Request window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add a Github connector type, refer to Supported Github Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid Github connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Owner field, provide the GitHub repository owner name. This could be a user or an organization.
7. In the Repository list, select or specify the GitHub repository name where you want to push change status.
8. In the Number list, select or specify a pull request number.
9. Click Show additional fields.
10. In the SHA field, provide the SHA that the pull request head must match to allow merging the pull request.
11. In the Commit Message field, provide extra details that are appended to the automatic commit message.
12. Click Done.
Output schema
Was this helpful?