File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ include the specified OAuth token. Therefore, authenticated clients should
102102almost never be shared between different users.
103103
104104For API methods that require HTTP Basic Authentication, use the
105- [ ` BasicAuthTransport ` ] ( https://pkg.go.dev/github.com/google/go-github/github#BasicAuthTransport ) .
105+ [ ` BasicAuthTransport ` ] ( https://pkg.go.dev/github.com/google/go-github/v74/ github#BasicAuthTransport ) .
106106
107107#### As a GitHub App ####
108108
Original file line number Diff line number Diff line change 1313//
1414// Note, if you want to push a single file, you probably prefer to use the
1515// content API. An example is available here:
16- // https://pkg.go.dev/github.com/google/go-github/github#example-RepositoriesService-CreateFile
16+ // https://pkg.go.dev/github.com/google/go-github/v74/ github#example-RepositoriesService-CreateFile
1717//
1818// Note, for this to work at least 1 commit is needed, so you if you use this
1919// after creating a repository you might want to make sure you set `AutoInit` to
@@ -173,7 +173,7 @@ func pushCommit(ref *github.Reference, tree *github.Tree) (err error) {
173173 return err
174174}
175175
176- // createPR creates a pull request. Based on: https://pkg.go.dev/github.com/google/go-github/github#example-PullRequestsService-Create
176+ // createPR creates a pull request. Based on: https://pkg.go.dev/github.com/google/go-github/v74/ github#example-PullRequestsService-Create
177177func createPR () (err error ) {
178178 if * prSubject == "" {
179179 return errors .New ("missing `-pr-title` flag; skipping PR creation" )
You can’t perform that action at this time.
0 commit comments