diff --git a/internal/bot/bot.go b/internal/bot/bot.go index f36f3a4..8d15f04 100644 --- a/internal/bot/bot.go +++ b/internal/bot/bot.go @@ -190,7 +190,6 @@ func (b *Bot) createCheckRun(ctx context.Context, pr *github.PullRequest, r *git cro := github.CreateCheckRunOptions{ Name: b.checkName, - HeadBranch: pr.GetHead().GetRef(), HeadSHA: headSHA, Status: github.String("completed"), CompletedAt: &github.Timestamp{Time: time.Now()}, diff --git a/pkg/github/client.go b/pkg/github/client.go index be207af..70d132c 100644 --- a/pkg/github/client.go +++ b/pkg/github/client.go @@ -3,7 +3,7 @@ package github import ( "github.com/DataDog/ghinstallation" - "github.com/google/go-github/v18/github" + "github.com/google/go-github/v32/github" "github.com/rs/zerolog" "github.com/rs/zerolog/log" "net/http" diff --git a/pkg/github/server.go b/pkg/github/server.go index 67a8106..d881489 100644 --- a/pkg/github/server.go +++ b/pkg/github/server.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - "github.com/google/go-github/v18/github" + "github.com/google/go-github/v32/github" "github.com/gorilla/mux" "github.com/rs/zerolog" "github.com/rs/zerolog/log"