To create Magento 2 records from GitHub without manual input, use a ready-made scenario.
Starts when: Github
Check: If
If yes: Xero
You can launch this GitHub + Magento 2 integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.