How to connect a GitHub repository
You connect repositories to a workspace, so you need one first. If you just signed up, BattleTest guides you through creating a workspace and then straight into the connect step below; continue from there. If you already have a workspace, start at step one.
Install the GitHub App
Section titled “Install the GitHub App”Open the connect flow
Go to the dashboard and click Connect GitHub.
Choose account and repositories
On the GitHub App installation page, select the account or organisation that owns your repositories. Under Repository access, choose Only select repositories and tick the repositories you want to connect.
Complete installation
Click Install & Authorize.
Repositories appear in the BattleTest Repositories list with a Connected status. PR reviews begin immediately on the next pull request event.
Add or remove repositories from an existing installation
Section titled “Add or remove repositories from an existing installation”Open repository settings
Go to Dashboard → Repositories.
Configure the App
Click Configure GitHub App.
Update access
Under Repository access, add or remove repositories, then click Save.
Connect repositories in a GitHub organisation
Section titled “Connect repositories in a GitHub organisation”To install on an organisation you must have organisation Owner permissions, or the organisation must allow members to install Apps. If the install button is greyed out, ask an organisation owner to complete the installation.
To install on all current and future repositories in an organisation, select All repositories on the installation page instead of selecting specific repositories.
Uninstall the GitHub App
Section titled “Uninstall the GitHub App”Uninstall from GitHub: Settings → Applications → Installed GitHub Apps → BattleTest Security → Configure → Uninstall.
BattleTest loses repository access immediately. Historical findings are retained in your account until you delete them.