oxidecomputer / buildomat

a software build labour-saving device
Mozilla Public License 2.0
53 stars 2 forks source link

handle installation_repositories events and update the repository cache #11

Open jclulow opened 1 year ago

jclulow commented 1 year ago

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.