[MAINT]: Upgrade google/go-github to v70
Describe the need
We are currently on v66 and the latest version for google/go-github is v70. We should upgrade the dependency to stay on the latest version.
Release Notes:
- v67: https://github.com/google/go-github/releases/tag/v67.0.0
- v68: https://github.com/google/go-github/releases/tag/v68.0.0
- v69: https://github.com/google/go-github/releases/tag/v69.0.0
- v70: https://github.com/google/go-github/releases/tag/v70.0.0
SDK Version
google/go-github v70
API Version
N/A
Relevant log output
N/A
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
go-github v68 includes a breaking change: https://github.com/google/go-github/releases/tag/v68.0.0
BREAKING CHANGE: All support for "Project (classic)" is removed and Project responses are replaced by ProjectV2 (renamed from ProjectsV2).
The REST API (and go-github) doesn't support new projects. https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28
These endpoints only interact with projects (classic). To manage Projects, use the GraphQL API.
So I guess we need to replace it to GraphQL API with https://github.com/shurcooL/githubv4 . It maybe result in this provider's breaking change.
(related to https://github.com/integrations/terraform-provider-github/issues/2494 )
Any ETA on this update?
Any updates on this? The newest version for go-github is already v74 and can't await to see a version upgrade in a new release of terraform-provider-github
We're working on upgrading go-github to v77 (and beyond).
There is a PR tracking the changes.
This upgrade introduces a number of breaking changes.
We expect to release it in the coming weeks.