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 an issue with omitempty on default_branch_protection_defaults #2004

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

RicePatrick
Copy link
Collaborator

This PR fixes an issue where the omitempty tag on the new DefaultBranchProtectionDefaults uses a period instead of a comma for allowed_to_merge, resulting in the create and update requests not properly updating the merge options.

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks 👍🏻

@svanharmelen svanharmelen merged commit 658c4fd into xanzy:main Sep 2, 2024
3 checks passed
@RicePatrick
Copy link
Collaborator Author

@svanharmelen - Would you mind cutting a new version when you have a free moment? There's a MR on the terraform provider that depends on this fix :)

@svanharmelen
Copy link
Member

Done 👍🏻

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.

2 participants