Our code was stored in an organization account on Github, and I am a member of the account with owner authorization. I can’t use the token OAuth App page gives me in my drone server, as stated in the introduction, because that only get me my own repos, not the repos in organization account.
I think I should use Github App to get the token. But there is an extra field to filled in to setup the Github App: webhook URL. I could not find the right url settings for this. The setting page is like this:
I filled in DRONE_HOST/hook in the webhook URL field for now, but I could not login my drone server. I’ve already given read/write authorization for all the field drone could get.
The error I get when failed to login is:
level=error msg="cannot authenticate user. GET https://api.github.com/user/emails: 404 Not Found "
Is it possible to integrate drone with organization account on Github?