Repository navigation
Conversation
The allow_forking field should only be set for org-owned repositories.
GitHub API returns 422 error when this field is included in requests for
private user-owned repositories.
|
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
|
@stevehipwell that fix is not handling private user-owned repositories, which is the issue I ran in to |
|
@smur I'm not sure how it's not handling user-owned repositories given that if you don't set the new If this is broken for you then please open a new issue with the full details. |
|
I'm not sure it's related, I'm just reporting it here in case it helps others: I'm using the version That feature is not available for private repos, so setting that to I guess the error was coming directly from Github, but it was misleading. |
|
@pasdam the |
|
Sorry, I guess I wasn't clear: I was just suggesting that in my case the error was not related to The error is misleading, and I guess it's coming from GitHub API directly, not from the terraform provider, but I might be wrong about that. Anyway if I find the time I'll test the latest version to see if that fixes my issue as well. I was just posting here in case some other folks would come here having the same issue I was facing. |
|
@pasdam as you didn't provide an example of what you were seeing or how it related to forking I don't see how you're adding any value here? Also you're not on the latest version, or the version that fixes |
The allow_forking field should only be set for org-owned repositories.
GitHub API returns 422 error when this field is included in requests for private user-owned repositories.
Resolves #3088
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!