If your team uses GitHub Advanced Security (Code Scanning Alerts) or Bitbucket Code Insights to manage Salesforce development, you can configure Code Reviews to push scan results directly into your repository. This gives you a unified view of your code quality alongside your Git provider's native code scanning alerts or insights.
How to configure the integration
Log in to Code Reviews and select the relevant repository.
Select the
Settingstab, thenSource controlfrom the menu on the left.On the Source control settings page, scroll past the
ConnectionandDefault branchfields to the panel for your Git provider:GitHub:
Code Scanning AlertsBitbucket:
Code Insights
Toggle the switch to
On.Select
Applyto save your changes.
Once enabled, Code Reviews automatically pushes scan results for both branches and pull requests into your Git repository.

