Skip to content

Commit 5b474b4

Browse files
authored
upgrade go-github and go version fixes (#107)
1 parent 6a81121 commit 5b474b4

6 files changed

Lines changed: 8 additions & 11 deletions

File tree

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.25.0
55
require (
66
github.com/bmatcuk/doublestar/v4 v4.10.0
77
github.com/boyter/gocodewalker v1.5.1
8-
github.com/google/go-github/v63 v63.0.0
98
github.com/google/go-github/v84 v84.0.0
109
github.com/pelletier/go-toml/v2 v2.2.4
1110
github.com/sourcegraph/go-diff v0.7.0

go.sum

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6N
77
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 h1:y5HC9v93H5EPKqaS1UYVg1uYah5Xf51mBfIoWehClUQ=
88
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964/go.mod h1:Xd9hchkHSWYkEqJwUGisez3G1QY8Ryz0sdWrLPMGjLk=
99
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
10-
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1110
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
12-
github.com/google/go-github/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE=
13-
github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA=
11+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
12+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
13+
github.com/google/go-github/v84 v84.0.0 h1:I/0Xn5IuChMe8TdmI2bbim5nyhaRFJ7DEdzmD2w+yVA=
1414
github.com/google/go-github/v84 v84.0.0/go.mod h1:WwYL1z1ajRdlaPszjVu/47x1L0PXukJBn73xsiYrRRQ=
15-
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
16-
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
1715
github.com/google/go-querystring v1.2.0 h1:yhqkPbu2/OH+V9BfpCVPZkNmUXhb2gBxJArfhIxNtP0=
1816
github.com/google/go-querystring v1.2.0/go.mod h1:8IFJqpSRITyJ8QhQ13bmbeMBDfmeEJZD5A0egEOmkqU=
1917
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=

internal/app/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,9 @@ func (a *App) requestReviews() error {
552552

553553
func (a *App) printFileOwners(codeOwners codeowners.CodeOwners) {
554554
a.printDebug("File Reviewers:\n")
555-
a.printDebug(a.getFileOwnersMapToString(codeOwners.FileRequired()))
555+
a.printDebug("%s", a.getFileOwnersMapToString(codeOwners.FileRequired()))
556556
a.printDebug("File Optional:\n")
557-
a.printDebug(a.getFileOwnersMapToString(codeOwners.FileOptional()))
557+
a.printDebug("%s", a.getFileOwnersMapToString(codeOwners.FileOptional()))
558558
}
559559

560560
func (a *App) getFileOwnersMapToString(fileReviewers map[string]codeowners.ReviewerGroups) string {

internal/app/app_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/google/go-github/v63/github"
11+
"github.com/google/go-github/v84/github"
1212
owners "github.com/multimediallc/codeowners-plus/internal/config"
1313
"github.com/multimediallc/codeowners-plus/internal/git"
1414
gh "github.com/multimediallc/codeowners-plus/internal/github"

internal/github/gh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"time"
1111

12-
"github.com/google/go-github/v63/github"
12+
"github.com/google/go-github/v84/github"
1313
"github.com/multimediallc/codeowners-plus/internal/git"
1414
"github.com/multimediallc/codeowners-plus/pkg/codeowners"
1515
f "github.com/multimediallc/codeowners-plus/pkg/functional"

internal/github/gh_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"testing"
1414
"time"
1515

16-
"github.com/google/go-github/v63/github"
16+
"github.com/google/go-github/v84/github"
1717
"github.com/multimediallc/codeowners-plus/pkg/codeowners"
1818
f "github.com/multimediallc/codeowners-plus/pkg/functional"
1919
)

0 commit comments

Comments
 (0)