terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

fix: remove MaxItems constraint from bypass_pull_request_allowances

Open srlightbody opened this issue 6 months ago • 0 comments

Resolves #2033


Before the change?

Attempting to provide a list of multiple users, teams or apps in the bypass_pull_request_allowances block results in the error 422 Validation Failed [{Resource: Field: Code: Message:Context must be unique per branch protection.}]

After the change?

You can provide a list of users, teams, or apps in the bypass_pull_request_allowances block and the apply will succeed.

Pull request checklist

  • [X] Tests for the changes have been added (for bug fixes / features)
  • [X] Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • [ ] Yes
  • [X] No

srlightbody avatar Aug 20 '24 17:08 srlightbody