Repository: reviewdog/reviewdog
Pull request #2111 (2025-04-07 19:25:42)

fix(deps): update module github.com/google/go-github/v70 to v71
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/go-github/v70](https://redirect.github.com/google/go-github) | `v70.0.0` -> `v71.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv70/v71.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fgo-github%2fv70/v71.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fgo-github%2fv70/v70.0.0/v71.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv70/v70.0.0/v71.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>google/go-github (github.com/google/go-github/v70)</summary>

### [`v71.0.0`](https://redirect.github.com/google/go-github/releases/tag/v71.0.0)

[Compare Source](https://redirect.github.com/google/go-github/compare/v70.0.0...v71.0.0)

This release contains the following breaking API changes:

-   feat!: Add ListReactionOptions to all ListxxReactions functions to enable filter by content ([#&#8203;3532](https://redirect.github.com/google/go-github/issues/3532))
    BREAKING CHANGE: `ListCommentReactionOptions` => `ListReactionOptions` and all `List*Reactions` methods now use it.

...and the following additional changes:

-   Bump go-github from v69 to v70 in /scrape ([#&#8203;3521](https://redirect.github.com/google/go-github/issues/3521))
-   Path escape fix in UserService.GetPackage() ([#&#8203;3522](https://redirect.github.com/google/go-github/issues/3522))
-   Update openapi ([#&#8203;3526](https://redirect.github.com/google/go-github/issues/3526))
-   feat: Add support for Issue Types API ([#&#8203;3525](https://redirect.github.com/google/go-github/issues/3525))
-   build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in /example ([#&#8203;3528](https://redirect.github.com/google/go-github/issues/3528))
-   build(deps): bump the actions group with 2 updates ([#&#8203;3530](https://redirect.github.com/google/go-github/issues/3530))
-   build(deps): bump github.com/getkin/kin-openapi from 0.130.0 to 0.131.0 in /tools ([#&#8203;3531](https://redirect.github.com/google/go-github/issues/3531))
-   Add ListReleaseReactions and DeleteReleaseReaction ([#&#8203;3533](https://redirect.github.com/google/go-github/issues/3533))
-   feat: Add actions_macos field to APIMeta struct ([#&#8203;3535](https://redirect.github.com/google/go-github/issues/3535))
-   fix: Isolate HTTP transports in parallel tests to prevent connection issues ([#&#8203;3529](https://redirect.github.com/google/go-github/issues/3529))
-   chore: Remove redundant in Go 1.22 loop variables ([#&#8203;3537](https://redirect.github.com/google/go-github/issues/3537))
-   fix: Add back repository field in Package struct ([#&#8203;3539](https://redirect.github.com/google/go-github/issues/3539))
-   Bump version of go-github to v71.0.0 ([#&#8203;3540](https://redirect.github.com/google/go-github/issues/3540))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/reviewdog/reviewdog).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlIl19-->



Patch:
diff --git a/cmd/reviewdog/main.go b/cmd/reviewdog/main.go
index 85e467fa..4e7162e4 100644
--- a/cmd/reviewdog/main.go
+++ b/cmd/reviewdog/main.go
@@ -20,7 +20,7 @@ import (
 	"golang.org/x/build/gerrit"
 	"golang.org/x/oauth2"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/mattn/go-shellwords"
 	"github.com/reviewdog/errorformat/fmts"
 	gitlab "gitlab.com/gitlab-org/api/client-go"
diff --git a/doghouse/appengine/github.go b/doghouse/appengine/github.go
index bd4c21f9..4a1ba949 100644
--- a/doghouse/appengine/github.go
+++ b/doghouse/appengine/github.go
@@ -12,7 +12,7 @@ import (
 	"net/url"
 	"strings"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/justinas/nosurf"
 	"github.com/vvakame/sdlog/aelog"
 	"golang.org/x/oauth2"
diff --git a/doghouse/appengine/github_webhook.go b/doghouse/appengine/github_webhook.go
index ba184b8c..0f1b479a 100644
--- a/doghouse/appengine/github_webhook.go
+++ b/doghouse/appengine/github_webhook.go
@@ -6,7 +6,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 
 	"github.com/reviewdog/reviewdog/doghouse/server/storage"
 )
diff --git a/doghouse/server/doghouse.go b/doghouse/server/doghouse.go
index 28d1f383..906b20d9 100644
--- a/doghouse/server/doghouse.go
+++ b/doghouse/server/doghouse.go
@@ -6,7 +6,7 @@ import (
 	"errors"
 	"fmt"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 
 	"github.com/reviewdog/reviewdog"
 	"github.com/reviewdog/reviewdog/diff"
diff --git a/doghouse/server/github.go b/doghouse/server/github.go
index 5ede898d..d35fb0ec 100644
--- a/doghouse/server/github.go
+++ b/doghouse/server/github.go
@@ -6,7 +6,7 @@ import (
 	"net/http"
 
 	"github.com/bradleyfalzon/ghinstallation/v2"
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 )
 
 type NewGitHubClientOption struct {
diff --git a/go.mod b/go.mod
index 2f322b83..4308756b 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@ require (
 	contrib.go.opencensus.io/exporter/stackdriver v0.13.12
 	github.com/bradleyfalzon/ghinstallation/v2 v2.14.0
 	github.com/google/go-cmp v0.7.0
-	github.com/google/go-github/v70 v70.0.0
+	github.com/google/go-github/v71 v71.0.0
 	github.com/haya14busa/go-actions-toolkit v0.0.0-20200105081403-ca0307860f01
 	github.com/haya14busa/go-sarif v0.0.0-20240630170108-a3ba8d79599f
 	github.com/haya14busa/secretbox v0.0.0-20180525171038-07c7ecf409f5
diff --git a/go.sum b/go.sum
index 9cefdc20..6dbad25f 100644
--- a/go.sum
+++ b/go.sum
@@ -170,8 +170,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
 github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
 github.com/google/go-github/v69 v69.0.0 h1:YnFvZ3pEIZF8KHmI8xyQQe3mYACdkhnaTV2hr7CP2/w=
 github.com/google/go-github/v69 v69.0.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
-github.com/google/go-github/v70 v70.0.0 h1:/tqCp5KPrcvqCc7vIvYyFYTiCGrYvaWoYMGHSQbo55o=
-github.com/google/go-github/v70 v70.0.0/go.mod h1:xBUZgo8MI3lUL/hwxl3hlceJW1U8MVnXP3zUyI+rhQY=
+github.com/google/go-github/v71 v71.0.0 h1:Zi16OymGKZZMm8ZliffVVJ/Q9YZreDKONCr+WUd0Z30=
+github.com/google/go-github/v71 v71.0.0/go.mod h1:URZXObp2BLlMjwu0O8g4y6VBneUj2bCHgnI8FfgZ51M=
 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/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
diff --git a/scripts/trigger-depup/go.mod b/scripts/trigger-depup/go.mod
index 7531bdf6..619bf954 100644
--- a/scripts/trigger-depup/go.mod
+++ b/scripts/trigger-depup/go.mod
@@ -5,7 +5,7 @@ go 1.23.0
 toolchain go1.24.2
 
 require (
-	github.com/google/go-github/v70 v70.0.0
+	github.com/google/go-github/v71 v71.0.0
 	golang.org/x/oauth2 v0.29.0
 )
 
diff --git a/scripts/trigger-depup/go.sum b/scripts/trigger-depup/go.sum
index b6960294..539151f7 100644
--- a/scripts/trigger-depup/go.sum
+++ b/scripts/trigger-depup/go.sum
@@ -1,8 +1,8 @@
 github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
 github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
-github.com/google/go-github/v70 v70.0.0 h1:/tqCp5KPrcvqCc7vIvYyFYTiCGrYvaWoYMGHSQbo55o=
-github.com/google/go-github/v70 v70.0.0/go.mod h1:xBUZgo8MI3lUL/hwxl3hlceJW1U8MVnXP3zUyI+rhQY=
+github.com/google/go-github/v71 v71.0.0 h1:Zi16OymGKZZMm8ZliffVVJ/Q9YZreDKONCr+WUd0Z30=
+github.com/google/go-github/v71 v71.0.0/go.mod h1:URZXObp2BLlMjwu0O8g4y6VBneUj2bCHgnI8FfgZ51M=
 github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
 github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
 golang.org/x/oauth2 v0.29.0 h1:WdYw2tdTK1S8olAzWHdgeqfy+Mtm9XNhv/xJsY65d98=
diff --git a/scripts/trigger-depup/main.go b/scripts/trigger-depup/main.go
index c7f20e23..2164b014 100644
--- a/scripts/trigger-depup/main.go
+++ b/scripts/trigger-depup/main.go
@@ -10,7 +10,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"golang.org/x/oauth2"
 )
 
diff --git a/service/github/check.go b/service/github/check.go
index e910ea26..6628583b 100644
--- a/service/github/check.go
+++ b/service/github/check.go
@@ -9,7 +9,7 @@ import (
 	"sync"
 	"time"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/reviewdog/reviewdog"
 	"github.com/reviewdog/reviewdog/cienv"
 	"github.com/reviewdog/reviewdog/filter"
diff --git a/service/github/diff.go b/service/github/diff.go
index 4c419244..955c03ee 100644
--- a/service/github/diff.go
+++ b/service/github/diff.go
@@ -8,7 +8,7 @@ import (
 	"os"
 	"os/exec"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/reviewdog/reviewdog"
 )
 
diff --git a/service/github/github.go b/service/github/github.go
index 8982abe2..de770ff1 100644
--- a/service/github/github.go
+++ b/service/github/github.go
@@ -13,7 +13,7 @@ import (
 	"strings"
 	"sync"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"google.golang.org/protobuf/proto"
 
 	"github.com/reviewdog/reviewdog"


Test patch:
diff --git a/doghouse/server/doghouse_test.go b/doghouse/server/doghouse_test.go
index 67c8dd87..ad7c1793 100644
--- a/doghouse/server/doghouse_test.go
+++ b/doghouse/server/doghouse_test.go
@@ -9,7 +9,7 @@ import (
 	"testing"
 
 	"github.com/google/go-cmp/cmp"
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/reviewdog/reviewdog/doghouse"
 	"github.com/reviewdog/reviewdog/proto/rdf"
 )
diff --git a/service/github/check_test.go b/service/github/check_test.go
index 740d97b7..ea721530 100644
--- a/service/github/check_test.go
+++ b/service/github/check_test.go
@@ -11,7 +11,7 @@ import (
 	"testing"
 
 	"github.com/google/go-cmp/cmp"
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/reviewdog/reviewdog"
 	"github.com/reviewdog/reviewdog/filter"
 	"github.com/reviewdog/reviewdog/proto/rdf"
diff --git a/service/github/diff_test.go b/service/github/diff_test.go
index 053d3cfe..aa020370 100644
--- a/service/github/diff_test.go
+++ b/service/github/diff_test.go
@@ -9,7 +9,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 )
 
 const sampleDiff = `--- a/sample.old.txt	2016-10-13 05:09:35.820791185 +0900
diff --git a/service/github/github_test.go b/service/github/github_test.go
index db4f60fa..0c24fc4c 100644
--- a/service/github/github_test.go
+++ b/service/github/github_test.go
@@ -12,7 +12,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/google/go-github/v70/github"
+	"github.com/google/go-github/v71/github"
 	"github.com/kylelemons/godebug/pretty"
 	"golang.org/x/oauth2"