Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Fix an issue with omitempty on default_branch_protection_defaults #2004

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

RicePatrick
Copy link
Contributor

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
Contributor 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants