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
{{ message }}
Repository navigation
[BUG]: GitHub provider version < 6.10.0 fails with "This organization does not allow private repository forking []" #3097
This option did not exist in earlier provider versions, so backward compatibility should have been preserved.
Actual Behavior
However, even using an older provider versions, the error still occurs, despite the fact that allow_forking was not available in those releases.
Error: PATCH https://api.github.com/repos/<ORGANIZATION>/homebrew-tap: 422 This organization does not allow private repository forking []
with module.github_repository["homebrew-tap"].github_repository.this,
on src/main.tf line 1, in resource "github_repository" "this":
1: resource "github_repository" "this" {
Error: PATCH https://api.github.com/repos/<ORGANIZATION>/litellm-oidc-proxy: 422 This organization does not allow private repository forking []
with module.github_repository["litellm-oidc-proxy"].github_repository.this,
on src/main.tf line 1, in resource "github_repository" "this":
1: resource "github_repository" "this" {
It blocks us from propagating changes to GitHub repositories during the Terraform apply steps.
👋 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 Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
I'm also seeing this issue with provider version 6.8.3. Does anyone know which version is working?
I'm still confused how this bug has been introduced into previous versions retrospectively, unless there was a Github API change? My module hasn't changed provider versions for as long as I'm aware.
@calebworks Github constantly changes their API without versioning it 😬 Could you try with the latest provider version? (6.11.0)
That's very true @deiga.
I've just tried with provider versions 6.10.0 and 6.11.0 and the issue persists across both :(
@calebworks Sorry, to hear that! Could you provide DEBUG logs and a config example of the failing code?
@deiga the config I'm using is part of a broader module & project that's fairly complex, so it would take me some time to prepare that. However, this issue is only appearing on one repo and not others - I suspect the problem repo once had forking enabled and is catching a logic edge-case on the API side as a result.
In any case, I'm hoping the issue will be resolved by #3174. If not, I can probably put together some debug logs (and possibly a config although that may be repo-dependent) but I'd need to spend some time to make sure they're sanitised.
Activity
github-actions commentedon Jan 20, 2026
👋 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
Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀karklik commentedon Jan 20, 2026
Duplicate of #3088
calebworks commentedon Feb 11, 2026
I'm also seeing this issue with provider version
6.8.3. Does anyone know which version is working?I'm still confused how this bug has been introduced into previous versions retrospectively, unless there was a Github API change? My module hasn't changed provider versions for as long as I'm aware.
deiga commentedon Feb 11, 2026
@calebworks Github constantly changes their API without versioning it 😬
Could you try with the latest provider version? (6.11.0)
calebworks commentedon Feb 11, 2026
That's very true @deiga.
I've just tried with provider versions 6.10.0 and 6.11.0 and the issue persists across both :(
deiga commentedon Feb 11, 2026
@calebworks Sorry, to hear that!
Could you provide DEBUG logs and a config example of the failing code?
calebworks commentedon Feb 11, 2026
@deiga the config I'm using is part of a broader module & project that's fairly complex, so it would take me some time to prepare that. However, this issue is only appearing on one repo and not others - I suspect the problem repo once had forking enabled and is catching a logic edge-case on the API side as a result.
In any case, I'm hoping the issue will be resolved by #3174. If not, I can probably put together some debug logs (and possibly a config although that may be repo-dependent) but I'd need to spend some time to make sure they're sanitised.
stevehipwell commentedon Feb 11, 2026
@calebworks #3174 should fix your issue.