From 728818720c9b166e184de6fa4493af7c1cd956d4 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Mon, 16 Feb 2026 10:23:13 -0500 Subject: [PATCH] Bump version of go-github to v83.0.0 Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- .custom-gcl.yml | 6 ++--- .golangci.yml | 6 ++--- AUTHORS | 21 ++++++++++++++++++ README.md | 22 +++++++++---------- example/actionpermissions/main.go | 2 +- example/appengine/app.go | 2 +- example/basicauth/main.go | 2 +- .../newreposecretwithxcrypto/main.go | 2 +- .../newusersecretwithxcrypto/main.go | 2 +- example/commitpr/main.go | 6 ++--- example/go.mod | 10 ++++----- example/listenvironments/main.go | 2 +- example/migrations/main.go | 2 +- example/newfilewithappauth/main.go | 2 +- example/newrepo/main.go | 2 +- example/newreposecretwithlibsodium/go.mod | 4 ++-- example/newreposecretwithlibsodium/main.go | 2 +- example/newreposecretwithxcrypto/main.go | 2 +- example/otel/main.go | 4 ++-- example/ratelimit/main.go | 2 +- example/simple/main.go | 2 +- example/tokenauth/main.go | 2 +- example/topics/main.go | 2 +- example/uploadreleaseassetfromrelease/main.go | 2 +- example/verifyartifact/main.go | 2 +- github/doc.go | 2 +- github/example_iterators_test.go | 2 +- github/examples_test.go | 2 +- github/github.go | 2 +- go.mod | 2 +- otel/go.mod | 6 ++--- otel/transport.go | 4 ++-- test/fields/fields.go | 2 +- test/integration/activity_test.go | 2 +- test/integration/authorizations_test.go | 2 +- test/integration/github_test.go | 2 +- test/integration/licences_test.go | 2 +- test/integration/pagination_test.go | 2 +- test/integration/projects_test.go | 2 +- test/integration/repos_test.go | 2 +- test/integration/users_test.go | 2 +- tools/check-structfield-settings/go.mod | 6 ++--- tools/check-structfield-settings/main.go | 2 +- tools/go.mod | 4 ++-- tools/metadata/main.go | 2 +- tools/metadata/main_test.go | 2 +- tools/metadata/metadata.go | 2 +- tools/metadata/openapi.go | 2 +- tools/structfield/go.mod | 2 +- 49 files changed, 97 insertions(+), 76 deletions(-) diff --git a/.custom-gcl.yml b/.custom-gcl.yml index b1b1be73d27..c03cbf7aad3 100644 --- a/.custom-gcl.yml +++ b/.custom-gcl.yml @@ -1,8 +1,8 @@ version: v2.7.0 plugins: - - module: "github.com/google/go-github/v82/tools/fmtpercentv" + - module: "github.com/google/go-github/v83/tools/fmtpercentv" path: ./tools/fmtpercentv - - module: "github.com/google/go-github/v82/tools/sliceofpointers" + - module: "github.com/google/go-github/v83/tools/sliceofpointers" path: ./tools/sliceofpointers - - module: "github.com/google/go-github/v82/tools/structfield" + - module: "github.com/google/go-github/v83/tools/structfield" path: ./tools/structfield diff --git a/.golangci.yml b/.golangci.yml index 105b33e71c7..a8422998da8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -159,15 +159,15 @@ linters: fmtpercentv: type: module description: Reports usage of %d or %s in format strings. - original-url: github.com/google/go-github/v82/tools/fmtpercentv + original-url: github.com/google/go-github/v83/tools/fmtpercentv sliceofpointers: type: module description: Reports usage of []*string and slices of structs without pointers. - original-url: github.com/google/go-github/v82/tools/sliceofpointers + original-url: github.com/google/go-github/v83/tools/sliceofpointers structfield: type: module description: Reports mismatches between Go field and JSON, URL tag names and types. - original-url: github.com/google/go-github/v82/tools/structfield + original-url: github.com/google/go-github/v83/tools/structfield settings: allowed-tag-names: - ActionsCacheUsageList.RepoCacheUsage # TODO: RepoCacheUsages ? diff --git a/AUTHORS b/AUTHORS index bf789bef05d..2270852e562 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,6 +12,7 @@ 2BFL 413x 6543 <6543@obermui.de> +Aaron LaBrie Abed Kibbe Abhijit Hota Abhinav Gupta @@ -77,6 +78,7 @@ Arda Kuyumcu Ary Arıl Bozoluk Asier Marruedo +Austen Stone Austin Burdine Austin Dizzy Azuka Okuleye @@ -101,6 +103,7 @@ Bradley Falzon Bradley McAllister Brandon Butler Brandon Cook +Brandon Everett Brandon Stubbs Brett Kuhlman Brett Logan @@ -130,7 +133,9 @@ Christian Muehlhaeuser Christoph Jerolimov Christoph Sassenberg CI Monk +Claus Näveke Clemens W +cointem Colby Williams Colin Misare Craig Gumbley @@ -157,6 +162,7 @@ Davide Zipeto Dennis Webb Derek Jobst DeviousLab +Dhananjay Mishra Dhi Aurrahman Diego Lapiduz Diogo Vilela @@ -208,6 +214,7 @@ Glen Mailer Gnahz Google Inc. Grachev Mikhail +Gregor Jasny Gregory Oschwald griffin_stewie guangwu @@ -227,6 +234,7 @@ Huy Tr huydx i2bskn Iain Steers +Iehana Fu Ikko Ashimine Ilia Choly Ioannis Georgoulas @@ -239,6 +247,7 @@ Jake Krammer Jake Scaltreto Jake White Jameel Haffejee +James Alseth James Bowes James Cockbain James Loh @@ -261,6 +270,7 @@ Jesse Newland Jihoon Chung Jille Timmermans Jimmi Dyson +Jiří Žižkovský Joan Saum JoannaaKL Joe Tsai @@ -312,6 +322,7 @@ kyokomi Lachlan Cooper Lars Lehtonen Laurent Verdoïa +Leonard Sheng Sheng Lee leopoldwang Liam Galvin Liam Stanley @@ -332,6 +343,8 @@ Léo Salé M. Ryan Rigdon Magnus Kulke Maksim Zhylinski +Manas Sivakumar +Manav Sharma Manuel Bergler Marc Binder Marcelo Carlos @@ -343,6 +356,8 @@ Marwan Sulaiman Masayuki Izumi Mat Geist Matheus Santos Araújo +MathewClegg +Mathieu Sévégny Matija Horvat Matin Rahmanian Matt @@ -356,6 +371,7 @@ Matt Simons Matthew Reidy Maxime Bury Michael Meng +Michael Recachinas Michael Spiegel Michael Tiller Michał Glapa @@ -365,6 +381,7 @@ Mike Ball Mike Chen Miles Crabill Mishin Nikolai +Mohamad Al-Zawahreh mohammad ali <2018cs92@student.uet.edu.pk> Mohammed AlDujaili Mohammed Nafees @@ -449,6 +466,7 @@ Riaje Ricco Førgaard Richard de Vries Rob Figueiredo +Roger Peppe Rohit Upadhyay Rojan Dinc Roman Wu @@ -478,6 +496,7 @@ Sanket Payghan Sarah Funkhouser Sarasa Kisaragi Sasha Melentyev +Scott Dawson Sean Wang Sebastian Mandrean Sebastian Mæland Pedersen @@ -542,6 +561,7 @@ Victor Castell Victor Vrantchan Victory Osikwemhe vikkyomkar +Ville Skyttä Vivek Vivek Kumar Sahu Vlad Ungureanu @@ -564,6 +584,7 @@ Yumikiyo Osanai Yurii Soldak Yusef Mohamadi Yusuke Kuoka +Yuto Kimura Zach Latta Ze Peng zhouhaibing089 diff --git a/README.md b/README.md index 70fbabb7b4a..9e6f3f7215b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # go-github # [![go-github release (latest SemVer)](https://img.shields.io/github/v/release/google/go-github?sort=semver)](https://github.com/google/go-github/releases) -[![Go Reference](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v82/github) +[![Go Reference](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v83/github) [![Test Status](https://github.com/google/go-github/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/google/go-github/actions/workflows/tests.yml) [![Test Coverage](https://codecov.io/gh/google/go-github/branch/master/graph/badge.svg)](https://codecov.io/gh/google/go-github) [![Discuss at go-github@googlegroups.com](https://img.shields.io/badge/discuss-go--github%40googlegroups.com-blue.svg)](https://groups.google.com/group/go-github) @@ -30,7 +30,7 @@ If you're interested in using the [GraphQL API v4][], the recommended library is go-github is compatible with modern Go releases in module mode, with Go installed: ```bash -go get github.com/google/go-github/v82 +go get github.com/google/go-github/v83 ``` will resolve and add the package to the current development module, along with its dependencies. @@ -38,7 +38,7 @@ will resolve and add the package to the current development module, along with i Alternatively the same can be achieved if you use import in a package: ```go -import "github.com/google/go-github/v82/github" +import "github.com/google/go-github/v83/github" ``` and run `go get` without parameters. @@ -46,20 +46,20 @@ and run `go get` without parameters. Finally, to use the top-of-trunk version of this repo, use the following command: ```bash -go get github.com/google/go-github/v82@master +go get github.com/google/go-github/v83@master ``` To discover all the changes that have occurred since a prior release, you can first clone the repo, then run (for example): ```bash -go run tools/gen-release-notes/main.go --tag v82.0.0 +go run tools/gen-release-notes/main.go --tag v83.0.0 ``` ## Usage ## ```go -import "github.com/google/go-github/v82/github" +import "github.com/google/go-github/v83/github" ``` Construct a new GitHub client, then use the various services on the client to @@ -108,7 +108,7 @@ include the specified OAuth token. Therefore, authenticated clients should almost never be shared between different users. For API methods that require HTTP Basic Authentication, use the -[`BasicAuthTransport`](https://pkg.go.dev/github.com/google/go-github/v82/github#BasicAuthTransport). +[`BasicAuthTransport`](https://pkg.go.dev/github.com/google/go-github/v83/github#BasicAuthTransport). #### As a GitHub App #### @@ -131,7 +131,7 @@ import ( "net/http" "github.com/bradleyfalzon/ghinstallation/v2" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func main() { @@ -165,7 +165,7 @@ import ( "os" "strconv" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "github.com/jferrl/go-githubauth" "golang.org/x/oauth2" ) @@ -434,7 +434,7 @@ For complete usage of go-github, see the full [package docs][]. [GitHub API v3]: https://docs.github.com/en/rest [personal access token]: https://github.com/blog/1509-personal-api-tokens -[package docs]: https://pkg.go.dev/github.com/google/go-github/v82/github +[package docs]: https://pkg.go.dev/github.com/google/go-github/v83/github [GraphQL API v4]: https://developer.github.com/v4/ [shurcooL/githubv4]: https://github.com/shurcooL/githubv4 [GitHub webhook events]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads @@ -508,7 +508,7 @@ Versions prior to 48.2.0 are not listed. | go-github Version | GitHub v3 API Version | | ----------------- | --------------------- | -| 82.0.0 | 2022-11-28 | +| 83.0.0 | 2022-11-28 | | ... | 2022-11-28 | | 48.2.0 | 2022-11-28 | diff --git a/example/actionpermissions/main.go b/example/actionpermissions/main.go index 8fcbee2d886..53446365258 100644 --- a/example/actionpermissions/main.go +++ b/example/actionpermissions/main.go @@ -14,7 +14,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var ( diff --git a/example/appengine/app.go b/example/appengine/app.go index f6cca89253a..7482a1ed36c 100644 --- a/example/appengine/app.go +++ b/example/appengine/app.go @@ -12,7 +12,7 @@ import ( "net/http" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "google.golang.org/appengine" "google.golang.org/appengine/log" ) diff --git a/example/basicauth/main.go b/example/basicauth/main.go index 926bdf25ec9..565a47431e7 100644 --- a/example/basicauth/main.go +++ b/example/basicauth/main.go @@ -22,7 +22,7 @@ import ( "os" "strings" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/term" ) diff --git a/example/codespaces/newreposecretwithxcrypto/main.go b/example/codespaces/newreposecretwithxcrypto/main.go index 64d5e8bcfc8..a3c6630bf56 100644 --- a/example/codespaces/newreposecretwithxcrypto/main.go +++ b/example/codespaces/newreposecretwithxcrypto/main.go @@ -37,7 +37,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/crypto/nacl/box" ) diff --git a/example/codespaces/newusersecretwithxcrypto/main.go b/example/codespaces/newusersecretwithxcrypto/main.go index 8b731ae0b50..d85e0db538f 100644 --- a/example/codespaces/newusersecretwithxcrypto/main.go +++ b/example/codespaces/newusersecretwithxcrypto/main.go @@ -38,7 +38,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/crypto/nacl/box" ) diff --git a/example/commitpr/main.go b/example/commitpr/main.go index c3b15c38e5a..4d9db003d34 100644 --- a/example/commitpr/main.go +++ b/example/commitpr/main.go @@ -13,7 +13,7 @@ // // Note, if you want to push a single file, you probably prefer to use the // content API. An example is available here: -// https://pkg.go.dev/github.com/google/go-github/v82/github#example-RepositoriesService-CreateFile +// https://pkg.go.dev/github.com/google/go-github/v83/github#example-RepositoriesService-CreateFile // // Note, for this to work at least 1 commit is needed, so you if you use this // after creating a repository you might want to make sure you set `AutoInit` to @@ -33,7 +33,7 @@ import ( "time" "github.com/ProtonMail/go-crypto/openpgp" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var ( @@ -178,7 +178,7 @@ func pushCommit(ref *github.Reference, tree *github.Tree) (err error) { return err } -// createPR creates a pull request. Based on: https://pkg.go.dev/github.com/google/go-github/v82/github#example-PullRequestsService-Create +// createPR creates a pull request. Based on: https://pkg.go.dev/github.com/google/go-github/v83/github#example-PullRequestsService-Create func createPR() (err error) { if *prSubject == "" { return errors.New("missing `-pr-title` flag; skipping PR creation") diff --git a/example/go.mod b/example/go.mod index 2b8850a9c03..e907e29b5f8 100644 --- a/example/go.mod +++ b/example/go.mod @@ -1,4 +1,4 @@ -module github.com/google/go-github/v82/example +module github.com/google/go-github/v83/example go 1.24.0 @@ -7,8 +7,8 @@ require ( github.com/bradleyfalzon/ghinstallation/v2 v2.17.0 github.com/gofri/go-github-pagination v1.0.1 github.com/gofri/go-github-ratelimit/v2 v2.0.2 - github.com/google/go-github/v82 v82.0.0 - github.com/google/go-github/v82/otel v0.0.0-00010101000000-000000000000 + github.com/google/go-github/v83 v83.0.0 + github.com/google/go-github/v83/otel v0.0.0-00010101000000-000000000000 github.com/sigstore/sigstore-go v0.6.1 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.40.0 go.opentelemetry.io/otel/sdk v1.40.0 @@ -105,6 +105,6 @@ require ( ) // Use version at HEAD, not the latest published. -replace github.com/google/go-github/v82 => ../ +replace github.com/google/go-github/v83 => ../ -replace github.com/google/go-github/v82/otel => ../otel +replace github.com/google/go-github/v83/otel => ../otel diff --git a/example/listenvironments/main.go b/example/listenvironments/main.go index d1f808ae588..f379718caf4 100644 --- a/example/listenvironments/main.go +++ b/example/listenvironments/main.go @@ -18,7 +18,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func main() { diff --git a/example/migrations/main.go b/example/migrations/main.go index 6a8348225d8..8d13cb8012f 100644 --- a/example/migrations/main.go +++ b/example/migrations/main.go @@ -12,7 +12,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func fetchAllUserMigrations() ([]*github.UserMigration, error) { diff --git a/example/newfilewithappauth/main.go b/example/newfilewithappauth/main.go index b66ef94545d..377eefcc880 100644 --- a/example/newfilewithappauth/main.go +++ b/example/newfilewithappauth/main.go @@ -16,7 +16,7 @@ import ( "time" "github.com/bradleyfalzon/ghinstallation/v2" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func main() { diff --git a/example/newrepo/main.go b/example/newrepo/main.go index 6affc20f142..bb7637d157f 100644 --- a/example/newrepo/main.go +++ b/example/newrepo/main.go @@ -16,7 +16,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var ( diff --git a/example/newreposecretwithlibsodium/go.mod b/example/newreposecretwithlibsodium/go.mod index 82523faa2e2..e85d65a9e68 100644 --- a/example/newreposecretwithlibsodium/go.mod +++ b/example/newreposecretwithlibsodium/go.mod @@ -4,10 +4,10 @@ go 1.24.0 require ( github.com/GoKillers/libsodium-go v0.0.0-20171022220152-dd733721c3cb - github.com/google/go-github/v82 v82.0.0 + github.com/google/go-github/v83 v83.0.0 ) require github.com/google/go-querystring v1.2.0 // indirect // Use version at HEAD, not the latest published. -replace github.com/google/go-github/v82 => ../.. +replace github.com/google/go-github/v83 => ../.. diff --git a/example/newreposecretwithlibsodium/main.go b/example/newreposecretwithlibsodium/main.go index 623578cdf5d..7cc262ea790 100644 --- a/example/newreposecretwithlibsodium/main.go +++ b/example/newreposecretwithlibsodium/main.go @@ -36,7 +36,7 @@ import ( "os" sodium "github.com/GoKillers/libsodium-go/cryptobox" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var ( diff --git a/example/newreposecretwithxcrypto/main.go b/example/newreposecretwithxcrypto/main.go index 3ba048aac9b..d8bc6c20c1b 100644 --- a/example/newreposecretwithxcrypto/main.go +++ b/example/newreposecretwithxcrypto/main.go @@ -37,7 +37,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/crypto/nacl/box" ) diff --git a/example/otel/main.go b/example/otel/main.go index 1f082399e51..9e6f35fd922 100644 --- a/example/otel/main.go +++ b/example/otel/main.go @@ -13,8 +13,8 @@ import ( "log" "net/http" - "github.com/google/go-github/v82/github" - "github.com/google/go-github/v82/otel" + "github.com/google/go-github/v83/github" + "github.com/google/go-github/v83/otel" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/sdk/trace" ) diff --git a/example/ratelimit/main.go b/example/ratelimit/main.go index 7e1c101d975..8ad5f7ee60e 100644 --- a/example/ratelimit/main.go +++ b/example/ratelimit/main.go @@ -17,7 +17,7 @@ import ( "github.com/gofri/go-github-ratelimit/v2/github_ratelimit" "github.com/gofri/go-github-ratelimit/v2/github_ratelimit/github_primary_ratelimit" "github.com/gofri/go-github-ratelimit/v2/github_ratelimit/github_secondary_ratelimit" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func main() { diff --git a/example/simple/main.go b/example/simple/main.go index 023d53a13a0..ca79dfd33bf 100644 --- a/example/simple/main.go +++ b/example/simple/main.go @@ -12,7 +12,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) // Fetch all the public organizations' membership of a user. diff --git a/example/tokenauth/main.go b/example/tokenauth/main.go index ceb0f87c313..972e16b3d25 100644 --- a/example/tokenauth/main.go +++ b/example/tokenauth/main.go @@ -15,7 +15,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/term" ) diff --git a/example/topics/main.go b/example/topics/main.go index af0800de6c8..b6eac8d8d03 100644 --- a/example/topics/main.go +++ b/example/topics/main.go @@ -12,7 +12,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) // Fetch and lists all the public topics associated with the specified GitHub topic. diff --git a/example/uploadreleaseassetfromrelease/main.go b/example/uploadreleaseassetfromrelease/main.go index dabfa405321..58410b64924 100644 --- a/example/uploadreleaseassetfromrelease/main.go +++ b/example/uploadreleaseassetfromrelease/main.go @@ -14,7 +14,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func main() { diff --git a/example/verifyartifact/main.go b/example/verifyartifact/main.go index 027fe82e033..73604c10eb0 100644 --- a/example/verifyartifact/main.go +++ b/example/verifyartifact/main.go @@ -18,7 +18,7 @@ import ( "log" "os" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "github.com/sigstore/sigstore-go/pkg/bundle" "github.com/sigstore/sigstore-go/pkg/root" "github.com/sigstore/sigstore-go/pkg/verify" diff --git a/github/doc.go b/github/doc.go index a368d773a9b..beb70dee75e 100644 --- a/github/doc.go +++ b/github/doc.go @@ -8,7 +8,7 @@ Package github provides a client for using the GitHub API. Usage: - import "github.com/google/go-github/v82/github" + import "github.com/google/go-github/v83/github" Construct a new GitHub client, then use the various services on the client to access different parts of the GitHub API. For example: diff --git a/github/example_iterators_test.go b/github/example_iterators_test.go index df6029b49b4..e1bb1d76804 100644 --- a/github/example_iterators_test.go +++ b/github/example_iterators_test.go @@ -10,7 +10,7 @@ import ( "fmt" "log" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func ExampleRepositoriesService_ListByUserIter() { diff --git a/github/examples_test.go b/github/examples_test.go index 96cec48d49e..08d0e8e038d 100644 --- a/github/examples_test.go +++ b/github/examples_test.go @@ -12,7 +12,7 @@ import ( "fmt" "log" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func ExampleMarkdownService_Render() { diff --git a/github/github.go b/github/github.go index 4abaa7c01b1..990f22f1a87 100644 --- a/github/github.go +++ b/github/github.go @@ -29,7 +29,7 @@ import ( ) const ( - Version = "v82.0.0" + Version = "v83.0.0" HeaderRateLimit = "X-Ratelimit-Limit" HeaderRateRemaining = "X-Ratelimit-Remaining" diff --git a/go.mod b/go.mod index cf7f9f7298e..9808be02898 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/google/go-github/v82 +module github.com/google/go-github/v83 go 1.24.0 diff --git a/otel/go.mod b/otel/go.mod index a5df195da0f..57a2c3c2850 100644 --- a/otel/go.mod +++ b/otel/go.mod @@ -1,9 +1,9 @@ -module github.com/google/go-github/v82/otel +module github.com/google/go-github/v83/otel go 1.24.0 require ( - github.com/google/go-github/v82 v82.0.0 + github.com/google/go-github/v83 v83.0.0 go.opentelemetry.io/otel v1.40.0 go.opentelemetry.io/otel/metric v1.40.0 go.opentelemetry.io/otel/sdk v1.40.0 @@ -20,4 +20,4 @@ require ( golang.org/x/sys v0.40.0 // indirect ) -replace github.com/google/go-github/v82 => ../ +replace github.com/google/go-github/v83 => ../ diff --git a/otel/transport.go b/otel/transport.go index dce4bcf67b0..1a43546eb6d 100644 --- a/otel/transport.go +++ b/otel/transport.go @@ -11,7 +11,7 @@ import ( "net/http" "strconv" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" @@ -22,7 +22,7 @@ import ( const ( // instrumentationName is the name of this instrumentation package. - instrumentationName = "github.com/google/go-github/v82/otel" + instrumentationName = "github.com/google/go-github/v83/otel" ) // Transport is an http.RoundTripper that instrument requests with OpenTelemetry. diff --git a/test/fields/fields.go b/test/fields/fields.go index 5e0773a7485..3a1cc35d40d 100644 --- a/test/fields/fields.go +++ b/test/fields/fields.go @@ -25,7 +25,7 @@ import ( "reflect" "strings" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var ( diff --git a/test/integration/activity_test.go b/test/integration/activity_test.go index 1a8a97ad6ae..0e194252906 100644 --- a/test/integration/activity_test.go +++ b/test/integration/activity_test.go @@ -10,7 +10,7 @@ package integration import ( "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) const ( diff --git a/test/integration/authorizations_test.go b/test/integration/authorizations_test.go index 7b69970ff10..a38a148c5b6 100644 --- a/test/integration/authorizations_test.go +++ b/test/integration/authorizations_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) const ( diff --git a/test/integration/github_test.go b/test/integration/github_test.go index d1e5992f226..f4d31811785 100644 --- a/test/integration/github_test.go +++ b/test/integration/github_test.go @@ -15,7 +15,7 @@ import ( "sync" "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) // client is a github.Client with the default http.Client. It is authorized if auth is true. diff --git a/test/integration/licences_test.go b/test/integration/licences_test.go index ed52311d833..8ebc024bd38 100644 --- a/test/integration/licences_test.go +++ b/test/integration/licences_test.go @@ -10,7 +10,7 @@ package integration import ( "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func TestLicenses_ListIter(t *testing.T) { diff --git a/test/integration/pagination_test.go b/test/integration/pagination_test.go index 567058b365e..9e53883f3eb 100644 --- a/test/integration/pagination_test.go +++ b/test/integration/pagination_test.go @@ -10,7 +10,7 @@ package integration import ( "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func TestSecurityAdvisories_ListGlobalSecurityAdvisories(t *testing.T) { diff --git a/test/integration/projects_test.go b/test/integration/projects_test.go index fc1986fac03..78a0f1e5098 100644 --- a/test/integration/projects_test.go +++ b/test/integration/projects_test.go @@ -11,7 +11,7 @@ import ( "os" "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) // Integration tests for Projects V2 endpoints defined in github/projects.go. diff --git a/test/integration/repos_test.go b/test/integration/repos_test.go index 84264bcac2f..53cc5bdad6d 100644 --- a/test/integration/repos_test.go +++ b/test/integration/repos_test.go @@ -13,7 +13,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func TestRepositories_CRUD(t *testing.T) { diff --git a/test/integration/users_test.go b/test/integration/users_test.go index 38dbcabfd56..f215daa254c 100644 --- a/test/integration/users_test.go +++ b/test/integration/users_test.go @@ -12,7 +12,7 @@ import ( "math/rand" "testing" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func TestUsers_Get(t *testing.T) { diff --git a/tools/check-structfield-settings/go.mod b/tools/check-structfield-settings/go.mod index f593c5ed93a..950ed8fa214 100644 --- a/tools/check-structfield-settings/go.mod +++ b/tools/check-structfield-settings/go.mod @@ -1,10 +1,10 @@ -module github.com/google/go-github/v82/tools/check-structfield-settings +module github.com/google/go-github/v83/tools/check-structfield-settings go 1.24.0 require ( github.com/golangci/plugin-module-register v0.1.1 - github.com/google/go-github/v82/tools/structfield v0.0.0 + github.com/google/go-github/v83/tools/structfield v0.0.0 go.yaml.in/yaml/v3 v3.0.4 golang.org/x/tools v0.29.0 ) @@ -15,4 +15,4 @@ require ( ) // Use version at HEAD, not the latest published. -replace github.com/google/go-github/v82/tools/structfield v0.0.0 => ../structfield +replace github.com/google/go-github/v83/tools/structfield v0.0.0 => ../structfield diff --git a/tools/check-structfield-settings/main.go b/tools/check-structfield-settings/main.go index 82b06ea14a9..0454ac42245 100644 --- a/tools/check-structfield-settings/main.go +++ b/tools/check-structfield-settings/main.go @@ -25,7 +25,7 @@ import ( "strings" "github.com/golangci/plugin-module-register/register" - "github.com/google/go-github/v82/tools/structfield" + "github.com/google/go-github/v83/tools/structfield" "go.yaml.in/yaml/v3" "golang.org/x/tools/go/analysis" "golang.org/x/tools/go/analysis/checker" diff --git a/tools/go.mod b/tools/go.mod index 94197707328..7ac17bd858c 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -6,7 +6,7 @@ require ( github.com/alecthomas/kong v1.14.0 github.com/getkin/kin-openapi v0.133.0 github.com/google/go-cmp v0.7.0 - github.com/google/go-github/v82 v82.0.0 + github.com/google/go-github/v83 v83.0.0 go.yaml.in/yaml/v3 v3.0.4 golang.org/x/sync v0.19.0 ) @@ -27,4 +27,4 @@ require ( ) // Use version at HEAD, not the latest published. -replace github.com/google/go-github/v82 => ../ +replace github.com/google/go-github/v83 => ../ diff --git a/tools/metadata/main.go b/tools/metadata/main.go index 38834612d8b..8a31a4fa112 100644 --- a/tools/metadata/main.go +++ b/tools/metadata/main.go @@ -16,7 +16,7 @@ import ( "path/filepath" "github.com/alecthomas/kong" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) var helpVars = kong.Vars{ diff --git a/tools/metadata/main_test.go b/tools/metadata/main_test.go index ea64e6b289a..275899dd0ae 100644 --- a/tools/metadata/main_test.go +++ b/tools/metadata/main_test.go @@ -23,7 +23,7 @@ import ( "github.com/alecthomas/kong" "github.com/getkin/kin-openapi/openapi3" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" ) func TestUpdateGo(t *testing.T) { diff --git a/tools/metadata/metadata.go b/tools/metadata/metadata.go index 307e2b400cd..60408280110 100644 --- a/tools/metadata/metadata.go +++ b/tools/metadata/metadata.go @@ -24,7 +24,7 @@ import ( "strings" "sync" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "go.yaml.in/yaml/v3" ) diff --git a/tools/metadata/openapi.go b/tools/metadata/openapi.go index 2986653837d..61d92f1a4c6 100644 --- a/tools/metadata/openapi.go +++ b/tools/metadata/openapi.go @@ -14,7 +14,7 @@ import ( "strconv" "github.com/getkin/kin-openapi/openapi3" - "github.com/google/go-github/v82/github" + "github.com/google/go-github/v83/github" "golang.org/x/sync/errgroup" ) diff --git a/tools/structfield/go.mod b/tools/structfield/go.mod index 4a48aa02cf4..1143012281e 100644 --- a/tools/structfield/go.mod +++ b/tools/structfield/go.mod @@ -1,4 +1,4 @@ -module github.com/google/go-github/v82/tools/structfield +module github.com/google/go-github/v83/tools/structfield go 1.24.0