integrations / terraform-provider-github

Terraform GitHub provider
https://www.terraform.io/docs/providers/github/
MIT License
863 stars 708 forks source link

[BUG]: Allow setting review notifications without delegation #2273

Open mering opened 1 month ago

mering commented 1 month ago

Expected Behavior

It should be possible to set github_team_settings.review_request_delegation.notify without enabling auto assignment.

These are independent settings: image

Actual Behavior

When only setting notify, terraform apply fails with

Error: Review request delegation member count must be greater than 0

Terraform Version

Terraform v1.8.3 on linux_amd64

Affected Resource(s)

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct