v1.3.0
·
7 commits
to main
since this release
feat: support for copilot_code_review thejrose1984 (#21)
## what- Added
copilot_code_reviewto therulesobject invar.rulesets, with two optional boolean attributes:review_on_push(default:false) andreview_draft_pull_requests(default:false) - Added a
dynamic "copilot_code_review"block inmain.tfto wire the new variable into thegithub_repository_rulesetresource - Bumped the minimum required GitHub provider version from
>= 6.9.0to>= 6.10.0, which is the version that introducedcopilot_code_reviewsupport
why
- Configuring Copilot code review via a repository ruleset caused perpetual drift when the setting was applied manually, because the Terraform module had no way to express it
- GitHub Enterprise users need automated Copilot peer review on PRs without relying on org-level rulesets
references
- closes cloudposse-terraform-components/aws-github-repository#32
- GitHub provider PR that added support: integrations/terraform-provider-github#2965