Hey @that-pat, thanks for the kind words :) I don't know if you're actually a GitHub employee or just a good community member, but it's good to see you around. I do have another question now though, but I'm unsure where to ask it. It feels more like a bug report almost, but I guess I should just get right into it: part of this script is generating a repository in an organization, but the other part of inviting the correct members to participate in them. During testing I invited myself to test my code with the API (expecting 204 because I'm already a collaborator, since I'm the admin creating it). I got the 204, but when I went to go delete the repo because it had worked and I wanted to test something else I realised I couldn't because that "invitation" had actually downgraded me to be just a regular collaborator without admin privileges! Does this sound like a bug or intended behavior?
... View more
I'm trying to create repositories in an organization that I'm part of via the API. Everything up to this point has worked: getting repositories, org info, user info, etc. but I can't get creation to work. I have the ability to do it myself and as far as I can tell, the personal access token I've generated has the permission scope to do it. I'm not sure where I should go from here; registering an OAuth app seems like overkill since I wanted to make a local script and the app requires a callback URI and the like.
... View more