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
102
102
almost never be shared between different users.
103
103
104
104
For 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 ) .
106
106
107
107
#### As a GitHub App ####
108
108
Original file line number Diff line number Diff line change 13
13
//
14
14
// Note, if you want to push a single file, you probably prefer to use the
15
15
// 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
17
17
//
18
18
// Note, for this to work at least 1 commit is needed, so you if you use this
19
19
// 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) {
173
173
return err
174
174
}
175
175
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
177
177
func createPR () (err error ) {
178
178
if * prSubject == "" {
179
179
return errors .New ("missing `-pr-title` flag; skipping PR creation" )
You can’t perform that action at this time.
0 commit comments