Repository navigation
Upgrade go-github in the root module from v29 to v93 - #7554
mohammedfirdouss wants to merge 3 commits into
Conversation
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
✅ Deploy Preview for pipecd-site canceled.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7554 +/- ##
==========================================
- Coverage 31.20% 31.20% -0.01%
==========================================
Files 604 604
Lines 53012 53024 +12
==========================================
Hits 16544 16544
- Misses 34911 34923 +12
Partials 1557 1557
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Enterprise SSO configurations without the optional uploadUrl now fail login; defaulting it to sso.BaseUrl before client construction is needed to preserve support for those configurations.
1 open issue
What changed in this PR
Upgrades the root module’s GitHub client from v29 to v93 to remove its dependency on deprecated OpenPGP code, contributing to the vulnerability cleanup tracked in #6600.
Changes:
- Updates go-github and its dependency checksums.
- Migrates GitHub SSO and release queries to the v93 API.
- Propagates client-construction errors through
NewWebAPIto control-plane startup.
| File | Description |
|---|---|
pkg/oauth/github/github.go |
Migrates public and enterprise OAuth client construction to v93. |
pkg/oauth/github/github_test.go |
Updates the GitHub client import used by tests. |
pkg/app/server/grpcapi/web_api.go |
Handles client initialization errors and value-based release fields. |
go.sum |
Refreshes checksums for upgraded dependencies. |
go.mod |
Upgrades go-github and indirect go-querystring dependencies. |
cmd/controlplane/server.go |
Handles errors returned by NewWebAPI. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>

What this PR does:
Upgrades
google/go-githubin the root module from v29.0.3 to v93.0.0. It is used in two places:Why we need it:
govulncheck reports GO-2026-5932 (
golang.org/x/crypto/openpgpis deprecated, no fixed version) in the root module. The only importer is go-github, which stopped importing the package in v60. With this change the finding is gone from the root module; the remaining root findings are allgolang.org/x/netv0.59.0 → v0.60.0, which #7548 covers. Together with #7553 (the two Actions tools) this clears GO-2026-5932 from every module, leaving only GO-2025-3546 (our own advisory without a patched version, see #6600) before the govulncheck gate can be made blocking.Which issue(s) this PR fixes:
Part of #6600.
Does this PR introduce a user-facing change?:
Screenshots/Videos (for documentation or website changes):
N/A