Skip to content

Commit f087250

Browse files
authored
Merge pull request #286 from fluxcd/update-go-github-63
Update dependencies
2 parents f5f96d7 + d1a091a commit f087250

23 files changed

+103
-1536
lines changed

github/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package github
1919
import (
2020
"fmt"
2121

22-
"github.com/google/go-github/v61/github"
22+
"github.com/google/go-github/v64/github"
2323

2424
"github.com/fluxcd/go-git-providers/gitprovider"
2525
)

github/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"strings"
2222

23-
"github.com/google/go-github/v61/github"
23+
"github.com/google/go-github/v64/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)
@@ -111,7 +111,7 @@ func (c *Client) HasTokenPermission(ctx context.Context, permission gitprovider.
111111
}
112112

113113
// The X-OAuth-Scopes header is returned for any API calls, using Meta here to keep things simple.
114-
_, res, err := c.c.Client().APIMeta(ctx)
114+
_, res, err := c.c.Client().Meta.Get(ctx)
115115
if err != nil {
116116
return false, err
117117
}

github/client_organization_teams.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package github
1919
import (
2020
"context"
2121

22-
"github.com/google/go-github/v61/github"
22+
"github.com/google/go-github/v64/github"
2323

2424
"github.com/fluxcd/go-git-providers/gitprovider"
2525
)

github/client_repositories_org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"errors"
2222

23-
"github.com/google/go-github/v61/github"
23+
"github.com/google/go-github/v64/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)

github/client_repository_branch.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ package github
1919
import (
2020
"context"
2121

22+
"github.com/google/go-github/v64/github"
23+
2224
"github.com/fluxcd/go-git-providers/gitprovider"
23-
"github.com/google/go-github/v61/github"
2425
)
2526

2627
// BranchClient implements the gitprovider.BranchClient interface.

github/client_repository_commit.go

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

2323
"github.com/fluxcd/go-git-providers/gitprovider"
24-
"github.com/google/go-github/v61/github"
24+
"github.com/google/go-github/v64/github"
2525
)
2626

2727
var githubNewFileMode = "100644"

github/client_repository_deploykey.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121
"errors"
2222

23-
"github.com/google/go-github/v61/github"
23+
"github.com/google/go-github/v64/github"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
2626
)

github/client_repository_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"io"
2424

2525
"github.com/fluxcd/go-git-providers/gitprovider"
26-
"github.com/google/go-github/v61/github"
26+
"github.com/google/go-github/v64/github"
2727
)
2828

2929
// FileClient implements the gitprovider.FileClient interface.

github/client_repository_pullrequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"context"
2121

2222
"github.com/fluxcd/go-git-providers/gitprovider"
23-
"github.com/google/go-github/v61/github"
23+
"github.com/google/go-github/v64/github"
2424
)
2525

2626
// PullRequestClient implements the gitprovider.PullRequestClient interface.

github/example_organization_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/fluxcd/go-git-providers/github"
99
"github.com/fluxcd/go-git-providers/gitprovider"
10-
gogithub "github.com/google/go-github/v61/github"
10+
gogithub "github.com/google/go-github/v64/github"
1111
)
1212

1313
// checkErr is used for examples in this repository.

0 commit comments

Comments
 (0)