Pull Request Overview and Prerequisites
Pull requests let you tell your team about the changes you have pushed to a branch in a repository. Thus, your team can review the code and give feedback on the changes before merging this branch into the master branch.
Copado supports pull requests from a wide range of providers such as Github, Bitbucket (Server and Cloud), Stash, GitLab, Azure (formerly known as VSTS) and any on-premise Git provider, so that your development process includes this quality gate as part of it, no matter what Git vendor you use. Fore more information about all these providers, check out the article WebHook Setup Examples.
- Have an org credential.
- Create an API key in order for Github to notify the pull request events to Copado (via the Copado Webhook API).
- A complete and validated Git Repository record. For more information about how to create a Git repository, please refer to the article Git Repository Overview.
- If required, fill in the Git Repository record's fields:
- Git Provider
- Branch Base URL
- Commit Base URL
- Pull Request Base URL
- Webhook setup in your repository. Please see the article WebHook Setup Examples for more information.