Connect GitHub
You need the admin or owner role in Hydra, and the right to install apps on the GitHub organization. Your Hydra account must have GitHub as a sign-in method.
Install the GitHub App
- Open the account menu at the bottom of the sidebar and pick Settings.
- Open Integrations. In the GitHub section, select Add GitHub organization.
- Select Install the Hydra GitHub App. GitHub opens.
- On GitHub, pick the organization, then pick All repositories or the repositories Hydra may use. Confirm the install.
- GitHub returns you to Hydra. Hydra shows how many repositories it connected.
- Open Settings and then Repositories. Check that the list holds every repository you picked.
To connect more repositories later, give the app access to them on GitHub, then repeat the steps from step 2.
Show pull requests in Hydra
- In Settings, open Data sources.
- On the GitHub row, select Turn on.
- Wait until the row shows History synced. Hydra copies every open pull request, and the closed ones updated in the last 30 days.
- In the sidebar, under Sources, open GitHub. Check that the list shows your pull requests.
From then on, GitHub sends each change to Hydra, and agents can run on pull requests.