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

upgrade go-github to v55 #1894

Merged
merged 4 commits into from
Sep 15, 2023
Merged

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
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
6 checks passed
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