Allow Sourcery through an IP allow list
Documentation Index
Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
Use this file to discover all available pages before exploring further.
If your GitHub organization or GitLab.com group only accepts requests from listed IP addresses, it blocks Sourcery until you allow it. Until then Sourcery can’t load your members or review pull requests, and the dashboard shows the message GitHub or GitLab returned when you install.
GitHub organizations
Section titled “GitHub organizations”An organization owner can allow Sourcery in either of two ways. The first needs no IP addresses.
Let installed GitHub Apps through
Section titled “Let installed GitHub Apps through”- Open your organization’s Authentication security settings (
https://github.com/organizations/<your-org>/settings/security). - Under IP allow list, select Enable IP allow list configuration for installed GitHub Apps.
- Save the change.
GitHub then adds the addresses Sourcery declares to your allow list, and updates them if they change.
Add Sourcery’s addresses yourself
Section titled “Add Sourcery’s addresses yourself”- Open the same Authentication security settings.
- Under IP allow list, add each of Sourcery’s egress IP addresses.
GitLab.com groups
Section titled “GitLab.com groups”GitLab.com groups on Premium or Ultimate can restrict access by IP address. A group Owner adds Sourcery’s addresses:
- Open the group’s general settings (
https://gitlab.com/groups/<your-group>/-/edit). - Expand Permissions and group features.
- In Restrict access by IP address, add each of Sourcery’s egress IP addresses.
- Save the changes.
Check that it works
Section titled “Check that it works”Go back to the dashboard and click I’ve fixed it, retry, or open a pull request. Sourcery reviews it once the platform lets its requests through.