Skip to content

Conversation

o-sama
Copy link
Contributor

@o-sama o-sama commented Sep 14, 2023

Resolves #1886 (Partially, as mentioned in #1887)


Before the change?

  • go-github is on v54.
  • JSON serialization of organization_ruleset.conditions.repository_name omits empty fields that are required on the GitHub API.

After the change?

  • go-github is on v55.
  • JSON serialization of organization_ruleset.conditions.repository_name is fixed.

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

This shouldn't be a breaking change, the only breaking change mentioned on the new release of go-github is related to Security Advisory Events, where the changes made don't seem to affect anything used by the provider.

@o-sama o-sama force-pushed the upgrade-go-github-v55 branch from e50b6de to f7e9899 Compare September 14, 2023 15:46
@o-sama
Copy link
Contributor Author

o-sama commented Sep 14, 2023

On second thoughts, although it's just a deprecation and lint override can be done, I'll take some time to update the client constructor to use the new pattern tonight.

@nickfloyd nickfloyd added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Sep 15, 2023
@nickfloyd nickfloyd merged commit 3323096 into integrations:main Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: import github_organization_ruleset crashed provider
2 participants