Automation action between repositories

Hi there,

I have two repositories front (react) and back (graphQl). When I push to develop with a PR in the back repository, I would like to launch a new pull request in front repository which will update the generated graphql types in the TypeScript file.

How can I automatise this process ?