I am creating a microservice based application which has to interact with Github through its API. Some of the microservices are Projects, Tasks, etc.
My question is: should I have a microservice dedicated only to communication with github? so when I need to create a project in the project microservices, I register it in my database and send an event to the github microservice to create the project in github (same for task microservices, send an event to the microservice of github to create the task).
Or should I do the communication with github in each microservice, registering the project (or task) in my database and registering it in github?