Skip to content

upgrade go-github to v55 - #1894

Merged
nickfloyd merged 4 commits into
integrations:mainfrom
o-sama:upgrade-go-github-v55
Sep 15, 2023
Merged

upgrade go-github to v55#1894
nickfloyd merged 4 commits into
integrations:mainfrom
o-sama:upgrade-go-github-v55

Conversation

@o-sama

Copy link
Copy Markdown
Contributor

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-samaforce-pushed the upgrade-go-github-v55 branch from e50b6de to f7e9899CompareSeptember 14, 2023 15:46
@o-sama

Copy link
Copy Markdown
ContributorAuthor

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.

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

Labels

Type: MaintenanceAny 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

@o-sama@nickfloyd