We receive webhook deliveries with the event field set to installation_repositories, and the payload.action field set to either added or removed. We should at least use the removed events to ditch old cached values. Otherwise, things can become confused when a repository is deleted and then another repository is subsequently created with the same name later.
We receive webhook deliveries with the
event
field set toinstallation_repositories
, and thepayload.action
field set to eitheradded
orremoved
. We should at least use theremoved
events to ditch old cached values. Otherwise, things can become confused when a repository is deleted and then another repository is subsequently created with the same name later.