Skip to content

Commit 9238395

Browse files
authored
Bump version of go-github to v67.0.0 (#3360)
1 parent 4267bc9 commit 9238395

File tree

35 files changed

+48
-69
lines changed

35 files changed

+48
-69
lines changed

README.md

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# go-github #
22

33
[![go-github release (latest SemVer)](https://img.shields.io/github/v/release/google/go-github?sort=semver)](https://github.com/google/go-github/releases)
4-
[![Go Reference](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v66/github)
4+
[![Go Reference](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/github.com/google/go-github/v67/github)
55
[![Test Status](https://github.com/google/go-github/workflows/tests/badge.svg)](https://github.com/google/go-github/actions?query=workflow%3Atests)
66
[![Test Coverage](https://codecov.io/gh/google/go-github/branch/master/graph/badge.svg)](https://codecov.io/gh/google/go-github)
77
[![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)
@@ -25,29 +25,29 @@ If you're interested in using the [GraphQL API v4][], the recommended library is
2525
go-github is compatible with modern Go releases in module mode, with Go installed:
2626

2727
```bash
28-
go get github.com/google/go-github/v66
28+
go get github.com/google/go-github/v67
2929
```
3030

3131
will resolve and add the package to the current development module, along with its dependencies.
3232

3333
Alternatively the same can be achieved if you use import in a package:
3434

3535
```go
36-
import "github.com/google/go-github/v66/github"
36+
import "github.com/google/go-github/v67/github"
3737
```
3838

3939
and run `go get` without parameters.
4040

4141
Finally, to use the top-of-trunk version of this repo, use the following command:
4242

4343
```bash
44-
go get github.com/google/go-github/v66@master
44+
go get github.com/google/go-github/v67@master
4545
```
4646

4747
## Usage ##
4848

4949
```go
50-
import "github.com/google/go-github/v66/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
50+
import "github.com/google/go-github/v67/github" // with go modules enabled (GO111MODULE=on or outside GOPATH)
5151
import "github.com/google/go-github/github" // with go modules disabled
5252
```
5353

@@ -120,7 +120,7 @@ import (
120120
"net/http"
121121

122122
"github.com/bradleyfalzon/ghinstallation/v2"
123-
"github.com/google/go-github/v66/github"
123+
"github.com/google/go-github/v67/github"
124124
)
125125

126126
func main() {
@@ -154,7 +154,7 @@ import (
154154
"os"
155155
"strconv"
156156

157-
"github.com/google/go-github/v66/github"
157+
"github.com/google/go-github/v67/github"
158158
"github.com/jferrl/go-githubauth"
159159
"golang.org/x/oauth2"
160160
)
@@ -362,7 +362,7 @@ For complete usage of go-github, see the full [package docs][].
362362

363363
[GitHub API v3]: https://docs.github.com/en/rest
364364
[personal access token]: https://github.com/blog/1509-personal-api-tokens
365-
[package docs]: https://pkg.go.dev/github.com/google/go-github/v66/github
365+
[package docs]: https://pkg.go.dev/github.com/google/go-github/v67/github
366366
[GraphQL API v4]: https://developer.github.com/v4/
367367
[shurcooL/githubv4]: https://github.com/shurcooL/githubv4
368368
[GitHub webhook events]: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads
@@ -436,29 +436,8 @@ Versions prior to 48.2.0 are not listed.
436436

437437
| go-github Version | GitHub v3 API Version |
438438
| ----------------- | --------------------- |
439-
| 66.0.0 | 2022-11-28 |
440-
| 65.0.0 | 2022-11-28 |
441-
| 64.0.0 | 2022-11-28 |
442-
| 63.0.0 | 2022-11-28 |
443-
| 62.0.0 | 2022-11-28 |
444-
| 61.0.0 | 2022-11-28 |
445-
| 60.0.0 | 2022-11-28 |
446-
| 59.0.0 | 2022-11-28 |
447-
| 58.0.0 | 2022-11-28 |
448-
| 57.0.0 | 2022-11-28 |
449-
| 56.0.0 | 2022-11-28 |
450-
| 55.0.0 | 2022-11-28 |
451-
| 54.0.0 | 2022-11-28 |
452-
| 53.2.0 | 2022-11-28 |
453-
| 53.1.0 | 2022-11-28 |
454-
| 53.0.0 | 2022-11-28 |
455-
| 52.0.0 | 2022-11-28 |
456-
| 51.0.0 | 2022-11-28 |
457-
| 50.2.0 | 2022-11-28 |
458-
| 50.1.0 | 2022-11-28 |
459-
| 50.0.0 | 2022-11-28 |
460-
| 49.1.0 | 2022-11-28 |
461-
| 49.0.0 | 2022-11-28 |
439+
| 67.0.0 | 2022-11-28 |
440+
| ... | 2022-11-28 |
462441
| 48.2.0 | 2022-11-28 |
463442

464443
## License ##

example/actionpermissions/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"log"
1515
"os"
1616

17-
"github.com/google/go-github/v66/github"
17+
"github.com/google/go-github/v67/github"
1818
)
1919

2020
var (

example/appengine/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"net/http"
1313
"os"
1414

15-
"github.com/google/go-github/v66/github"
15+
"github.com/google/go-github/v67/github"
1616
"google.golang.org/appengine"
1717
"google.golang.org/appengine/log"
1818
)

example/basicauth/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"os"
2222
"strings"
2323

24-
"github.com/google/go-github/v66/github"
24+
"github.com/google/go-github/v67/github"
2525
"golang.org/x/term"
2626
)
2727

example/codespaces/newreposecretwithxcrypto/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
"log"
3838
"os"
3939

40-
"github.com/google/go-github/v66/github"
40+
"github.com/google/go-github/v67/github"
4141
"golang.org/x/crypto/nacl/box"
4242
)
4343

example/codespaces/newusersecretwithxcrypto/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
"log"
3939
"os"
4040

41-
"github.com/google/go-github/v66/github"
41+
"github.com/google/go-github/v67/github"
4242
"golang.org/x/crypto/nacl/box"
4343
)
4444

example/commitpr/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"time"
3434

3535
"github.com/ProtonMail/go-crypto/openpgp"
36-
"github.com/google/go-github/v66/github"
36+
"github.com/google/go-github/v67/github"
3737
)
3838

3939
var (

example/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/google/go-github/v66/example
1+
module github.com/google/go-github/v67/example
22

33
go 1.22.5
44

@@ -8,7 +8,7 @@ require (
88
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371
99
github.com/bradleyfalzon/ghinstallation/v2 v2.0.4
1010
github.com/gofri/go-github-ratelimit v1.0.3
11-
github.com/google/go-github/v66 v66.0.0
11+
github.com/google/go-github/v67 v67.0.0
1212
github.com/sigstore/sigstore-go v0.6.2
1313
golang.org/x/crypto v0.27.0
1414
golang.org/x/term v0.24.0
@@ -101,4 +101,4 @@ require (
101101
)
102102

103103
// Use version at HEAD, not the latest published.
104-
replace github.com/google/go-github/v66 => ../
104+
replace github.com/google/go-github/v67 => ../

example/listenvironments/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"log"
1919
"os"
2020

21-
"github.com/google/go-github/v66/github"
21+
"github.com/google/go-github/v67/github"
2222
)
2323

2424
func main() {

example/migrations/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"context"
1313
"fmt"
1414

15-
"github.com/google/go-github/v66/github"
15+
"github.com/google/go-github/v67/github"
1616
)
1717

1818
func fetchAllUserMigrations() ([]*github.UserMigration, error) {

0 commit comments

Comments
 (0)