Hosted service: route one GitHub App's deliveries to the installing organisation #1820
Notifications
Due Date
No due date set.
Reference: sam/archie#1820
Reference in new issue
Block a user
The hosted service runs one public GitHub App. Every installation's webhook deliveries arrive at the app's single URL, but event capture resolves a delivery's organisation from the URL path, so all installations would land in one source.
The hosted intake verifies the app's webhook secret, reads installation.id from the delivery and routes it to the archie organisation linked to that installation. installation and installation_repositories events create, update and remove that link, and the installing organisation's GitHub connection uses the app credential.
Done when two organisations install the same app and each sees only its own deliveries and repositories. Relates to #1817.