Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove MaxItems constraint from bypass_pull_request_allowances #2355

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

srlightbody
Copy link

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

  • Tests for the changes have been added (for bug fixes / features)
  • 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
  • No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Cannot add more than one team to Github_branch_protection_v3 bypass_pull_request_allowances
1 participant