You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be impossible to add repos that are owned by a Github org. :(
First, I tried register the repo while logged in as an admin of the github org: "you don't have permission". Then, I added @homu as a collaborator to the repo with write access, and tried to register the repo: "Unable to add a webhook: MissingFieldError("id")". Then, I manually copied the webhook from another already-registered repo, and tried to register the repo again: "Unable to add a webhook: MissingFieldError("id")". Then, I manually removed the webhook, upgraded @homu's permissions to be admin, and registered the repo again: "Unable to add a webhook: MissingFieldError("id")".
How do I register a new repo? 😭
The text was updated successfully, but these errors were encountered:
Okay, figured it out! (Kind of...). As suggested in #120, it was because the rubygems GitHub organization has the "Third-party application access policy" setting set to "Policy: Access restricted. Only approved applications can access data in this organization." I briefly disabled restricted access, and I was able to register the repo immediately.
That said, it's really dangerous to give any application used by any organization member full access to the organization's settings. :/ Will Homu support registering repos belonging to organizations with this setting set in the future?
It seems to be impossible to add repos that are owned by a Github org. :(
First, I tried register the repo while logged in as an admin of the github org: "you don't have permission". Then, I added @homu as a collaborator to the repo with
write
access, and tried to register the repo: "Unable to add a webhook: MissingFieldError("id")". Then, I manually copied the webhook from another already-registered repo, and tried to register the repo again: "Unable to add a webhook: MissingFieldError("id")". Then, I manually removed the webhook, upgraded @homu's permissions to beadmin
, and registered the repo again: "Unable to add a webhook: MissingFieldError("id")".How do I register a new repo? 😭
The text was updated successfully, but these errors were encountered: