diff --git a/scrape/apps.go b/scrape/apps.go index 6b0ce0e8b50..fe99ea84a03 100644 --- a/scrape/apps.go +++ b/scrape/apps.go @@ -18,7 +18,7 @@ import ( "strings" "github.com/PuerkitoBio/goquery" - "github.com/google/go-github/v67/github" + "github.com/google/go-github/v68/github" ) // AppRestrictionsEnabled returns whether the specified organization has diff --git a/scrape/apps_test.go b/scrape/apps_test.go index 991dd8f368d..ae5b191eed8 100644 --- a/scrape/apps_test.go +++ b/scrape/apps_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v67/github" + "github.com/google/go-github/v68/github" ) func Test_AppRestrictionsEnabled(t *testing.T) { @@ -95,7 +95,7 @@ func Test_CreateApp(t *testing.T) { }) if _, err := client.CreateApp(&AppManifest{ - URL: github.String("https://example.com"), + URL: github.Ptr("https://example.com"), HookAttributes: map[string]string{ "url": "https://example.com/hook", }, @@ -113,7 +113,7 @@ func Test_CreateAppWithOrg(t *testing.T) { }) if _, err := client.CreateApp(&AppManifest{ - URL: github.String("https://example.com"), + URL: github.Ptr("https://example.com"), HookAttributes: map[string]string{ "url": "https://example.com/hook", }, diff --git a/scrape/go.mod b/scrape/go.mod index 4264ba3c98b..b56b0f2c5be 100644 --- a/scrape/go.mod +++ b/scrape/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.0 require ( github.com/PuerkitoBio/goquery v1.9.2 github.com/google/go-cmp v0.6.0 - github.com/google/go-github/v67 v67.0.0 + github.com/google/go-github/v68 v68.0.0 github.com/xlzd/gotp v0.1.0 golang.org/x/net v0.32.0 ) diff --git a/scrape/go.sum b/scrape/go.sum index abfc7858b9b..7b08a0ca5e5 100644 --- a/scrape/go.sum +++ b/scrape/go.sum @@ -5,8 +5,8 @@ github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6 github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v67 v67.0.0 h1:g11NDAmfaBaCO8qYdI9fsmbaRipHNWRIU/2YGvlh4rg= -github.com/google/go-github/v67 v67.0.0/go.mod h1:zH3K7BxjFndr9QSeFibx4lTKkYS3K9nDanoI1NjaOtY= +github.com/google/go-github/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s= +github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/xlzd/gotp v0.1.0 h1:37blvlKCh38s+fkem+fFh7sMnceltoIEBYTVXyoa5Po=