How do I generate the GitHub OAuth token for organization accounts?

That’s not possible currently, you can only create tokens for user accounts since user accounts have permissions associated with them (organizations don’t). So, you’d need to create a token with an account which has access to the repository in question and give that to Travis. You can also create a machine account for that purpose.

Leave a Comment