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
[FEAT]: Configuring automatic code review by Copilot #2641
There is no way to enable this for a github_repository_ruleset either.
There is a more general issue for configuring copilot support which already has some activity: #2583
Reacted by Kyle Decot, Larry Meadors, flex-dongjin and Daniel Mühlbachler-Pietrzykowski
If I use Terraform to manage my Rulesets, and then enable this feature manually (due to no provider support), then this causes future TF Plans to error out due to provider crashes.
We're currently working on releasing v7 of this provider which upgrades to v77 of go-github and has a number of breaking changes. Once that is released we can finally get rulesets updated to match the current API
Reacted by Misha Kushakov, Takumi Sue and Daniel Mühlbachler-Pietrzykowski
Reacted by Kyle Decot, Takumi Sue, Ozzy and Daniel Mühlbachler-Pietrzykowski
fix!: Change copilot_code_review field names to match GitHub API (https://github.com/google/go-github/pull/3874)
BREAKING CHANGE: CopilotCodeReviewRuleParameters.ReviewNewPushes is now ReviewOnPush.
Reacted by Timo Sand, Kyle Decot, Ozzy and Takumi Sue
Activity
johan-osvaldsson-ingka commentedon May 9, 2025
There is no way to enable this for a github_repository_ruleset either.
There is a more general issue for configuring copilot support which already has some activity: #2583
mkushakov commentedon Sep 11, 2025
We have added it to our forked version of this terraform provider https://registry.terraform.io/providers/nexthink-oss/github/latest/docs/resources/repository_ruleset#automatic_copilot_code_review_enabled-4
nnellanspdl commentedon Sep 30, 2025
If I use Terraform to manage my Rulesets, and then enable this feature manually (due to no provider support), then this causes future TF Plans to error out due to provider crashes.
Invincibear commentedon Dec 30, 2025
It's been ~9mo since this was requested, surely we can add a simple rule to match the UI & API?
mkushakov commentedon Jan 5, 2026
Recently GitHub changed API for this field and recent https://github.com/google/go-github/releases/tag/v80.0.0 doesn't have support for it yet but fix is merged on master. Beside the fact that current used SDK version for ruleset is way behind
terraform-provider-github/github/resource_github_repository_ruleset.go
Line 12 in 63076f7
deiga commentedon Jan 5, 2026
We're currently working on releasing v7 of this provider which upgrades to v77 of go-github and has a number of breaking changes. Once that is released we can finally get rulesets updated to match the current API
mkushakov commentedon Jan 6, 2026
FYI, google just released v81 SDK version which includes support for Copilot code reviews ruleset https://github.com/google/go-github/releases/tag/v81.0.0
deiga commentedon Jan 11, 2026
We've now upgraded to v81 of the SDK. We'd love to see a PR for this :)
deiga commentedon Jan 13, 2026
Resolved by #2965
stevehipwell commentedon Jan 14, 2026
@deiga #2965 doesn't currently fix this issue as it's currently only for repo rulesets.