Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/google/go-github/v67 to v68 - autoclosed #184

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.2
require (
github.com/Masterminds/sprig/v3 v3.2.3
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
github.com/google/go-github/v67 v67.0.0
github.com/google/go-github/v68 v68.0.0
github.com/google/go-querystring v1.1.0
github.com/quasilyte/go-ruleguard/dsl v0.3.22
github.com/sirupsen/logrus v1.9.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyT
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github/v67 v67.0.0 h1:g11NDAmfaBaCO8qYdI9fsmbaRipHNWRIU/2YGvlh4rg=
github.com/google/go-github/v67 v67.0.0/go.mod h1:zH3K7BxjFndr9QSeFibx4lTKkYS3K9nDanoI1NjaOtY=
github.com/google/go-github/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s=
github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down
2 changes: 1 addition & 1 deletion provider/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
"github.com/karlderkaefer/cdk-notifier/config"
"github.com/sirupsen/logrus"
"golang.org/x/oauth2"
Expand Down
2 changes: 1 addition & 1 deletion provider/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sync"
"testing"

"github.com/google/go-github/v67/github"
"github.com/google/go-github/v68/github"
"github.com/karlderkaefer/cdk-notifier/config"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -96,8 +96,8 @@
initLogger()
commentsMock := []*github.IssueComment{
{
ID: github.Int64(1),

Check failure on line 99 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Body: github.String(fmt.Sprintf("%s %s\n%s", HeaderPrefix, defaultTag, "hello-word")),

Check failure on line 100 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
},
}
client := defaultTestGithubProvider(commentsMock)
Expand Down Expand Up @@ -134,8 +134,8 @@
initLogger()
commentsMock := []*github.IssueComment{
{
ID: github.Int64(1),

Check failure on line 137 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Body: github.String(fmt.Sprintf("%s %s\n%s", HeaderPrefix, defaultTag, "hello-word")),

Check failure on line 138 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
},
}
client := defaultTestGithubProvider(commentsMock)
Expand All @@ -155,8 +155,8 @@
var commentsMock []*github.IssueComment
for i := 1; i <= maxLength; i++ {
commentsMock = append(commentsMock, &github.IssueComment{
ID: github.Int64(int64(i)),

Check failure on line 158 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.Int64 is deprecated: use Ptr instead. (staticcheck)
Body: github.String(fmt.Sprintf("%s example-%d", HeaderPrefix, i)),

Check failure on line 159 in provider/github_test.go

View workflow job for this annotation

GitHub Actions / lint

SA1019: github.String is deprecated: use Ptr instead. (staticcheck)
})
}
client := defaultTestGithubProvider(commentsMock)
Expand Down
Loading