If you sell access to private GitHub repositories using external services, you may want to automate adding your customers to the repository as outside collaborators.
This blog post shows you how I automated this process for my product, Makerkit.
I hope you enjoy it!