Build Analytics
Captain can integrate with your VCS and CI/CD providers to track your builds and provide insights on their performance and reliability. Right now, we only support GitHub and GitHub Actions, but would love to hear if you are interested in others.
Configuring GitHub and GitHub Actions
We use the GitHub app for read-only access to your GitHub Actions workflow runs, which is how we collect the metrics we need to monitor your builds. You'll be able to select which repositories you want to grant access to when you are installing the GitHub app.
Navigate to your organization settings to install the Captain GitHub app. Once the app is installed, Captain will begin automatically ingesting your build data.
If you belong to an organization on GitHub (like your company's organization), you'll be prompted to select either an organization or your personal account, like in this image:
Select the organization that you want to integrate with Captain. You'll then be presented with a screen allowing you to select which repositories you want to integrate with Captain. This screen also shows you which permissions Captain currently requires. Captain can't access any data outside of what these permissions allow.
If you aren't sure, we recommend selecting all repositories. You'll be able to rescind permissions or hide repositories in Captain if you eventually want to limit which repositories you can work on in Captain.
After clicking "Install & Authorize", you'll be redirected to Captain, where an account and organization will have been provisioned for you. After a few minutes, your data should be imported into Captain!
Once you've installed the GitHub app, you can begin using Captain to analyze your GitHub actions builds.