Integrating DeepSource with your Github account is done using a Github application.
Permissions
section and select Read-only
for Email addresses
and Git SSH Key
.APP_SLUG
part of the URL on the Github app page. https://github.com/organizations/acme_corp/settings/apps/<APP_SLUG>
Save config
and deploy. (Ensure that you have completed the steps in the Adming Console page before you deploy.)
https://<DEEPSOURCE_HOSTNAME>/login
to start using Github with DeepSource Enterprise.
Permission | Scope | Reason |
---|---|---|
Checks | Read and write | Update pull request checks when an analysis is run. |
Commit statuses | Read and write | For updaing commit statuses in the PR. |
Contents | Read and write | Get source code during analysis. |
Metadata | Read-only | The metadata permission provides access to a collection of read-only endpoints with metadata for various resources. |
Pull requests | Read and write | Create pull requests for autofix. |
Single file | Read and write | Read and write the .deepsource.toml |
Webhooks | Read-only | Receive webhook notifications when the source code changes. |
Email address | Read-only | To authenticate your user account. |
Git SSH Key | Read-only | For cloning private repositories. |