Validate pull requests
For this feature you need to have a CI job from a source control branch to a Salesforce org (excluding scratch orgs). Once selected, this will run a validation for any pull request (PR) against the selected Salesforce org.
You can see the result of this validation either in Gearset or your Git provider. To find it from Gearset, locate the CI job from the CI jobs page, and select the expand arrow on the right.
You can see a list of open PRs with the related validation result next to each, as well as the option to re-run the validation.
To find it from your Git provider (In this example GitHub) go to the open PR, and expand the checks.
β
If you're using Gearset Pipelines, you can access the PR details in your Git provider directly from Gearset. Open the Deployment pipelines page, click on the CI job environment where the PR was opened. From there, select the PR you want to open and click the button shown in the screenshot below.
β
If the option Validate pull request targeting the source branch
is not enabled in the CI job Edit settings
, Gearset will not run the validation automatically.
Instead, there will be an option given to users to run the validation manually.
The option to Run validation
manually will show up on a Pull Request in Pipelines UI:
As well as on the CI dashboard for the CI job in question. By selecting the Run now
button, you'll manually initiate the validation for your Pull Request.
Note: In your VCS, under checks, no Gearset checks will appear automatically if the checkbox is not selected.