Prerequisites
- Owner access to the GitHub organization you want to connect
- Admin role in the Draftt dashboard (Integrations > GitHub)
Setup
1
Open the GitHub integration
In Draftt, go to Integrations and click the GitHub card. If your organization already has a GitHub integration, click Add on the GitHub page. Draftt opens GitHub so you can install the Draftt.io GitHub App.
2
Choose your organization
Sign in to GitHub if prompted, then select the organization you want to connect. Select the organization, not your personal account, to include its repositories.
If your organization uses SAML single sign-on and doesn’t appear in the list, sign in to the organization through your identity provider, then reload the page.
3
Select repository access
Choose which repositories Draftt can read:
- All repositories includes every current and future repository in the organization.
- Only select repositories limits access to the repositories you choose.
4
Review permissions and install
Review the requested read-only permissions and click Install.
5
Return to Draftt
After installation, GitHub returns you to Draftt. The integration appears under Integrations > GitHub. You don’t need an API key or personal access token.
What Draftt reads
The Draftt.io GitHub App has read-only access to repository contents and metadata. It cannot push code, open pull requests, or change settings in your organization. For each repository in the installation, Draftt reads:- Repository details: Name, visibility, and last push date
- Dependency files: Build files and lockfiles. Draftt fetches only the files it needs to find dependencies, and fetches the full repository only if a scan needs it
- End of life: Versions that have reached end of life, with the next supported version
- Deprecation: Packages that are deprecated or archived on GitHub, with a suggested replacement when one exists