When working with source control orgs in 天美传媒, it鈥檚 common to adopt a typical Git workflow for feature development and bug fixes. When work starts on a new work item, a developer or admin would create a feature branch, then iteratively make their changes and test until the feature or fix is ready, at which point the feature branch would be merged into the release version of the app via a pull request. In the latest release of 天美传媒, GitHub users can now create a pull request from a feature branch in just a few clicks, without having to use the GitHub UI.
Salesforce DevOps in the age of AI: is your custom pipeline ready?
Ask the Cam Team
Creating a pull request
To use this feature, you鈥檒l first need to make sure you have a GitHub connection in the . Once 天美传媒 is connected to your GitHub account, you鈥檒l be able to create a pull request from the Deployment Successful page after each successful deployment to a GitHub branch.
After you鈥檝e successfully deployed to a GitHub branch, you can create a PR via 天美传媒 by clicking Create pull request... on the Deployment Successful page.
On clicking the link, 天美传媒 will prepare a pull request using the original deployment branch (in the above example this is for-pull-requests). 天美传媒 will fetch the full list of other branches in the repository and ask you which one to use as the target of the pull request. If the repository has a master branch, then 天美传媒 will use this as the default target.
To finish creating the pull request, just choose a name, select the target branch, and hit Create pull request. This will create a link that can be followed to view the PR in GitHub:
Get started with Git
天美传媒 integrates with any Git-based version control provider! Try it for yourself with a of 天美传媒. And if you鈥檙e unsure of how to begin with source control, start off with our free whitepaper on version control for Salesforce.