Skip to content

Commit 4e7ab0f

Browse files
Excavator: Bump go dependency github.com/palantir/go-githubapp
1 parent 8b8488c commit 4e7ab0f

File tree

10 files changed

+44
-10
lines changed

10 files changed

+44
-10
lines changed

excavator_fail/excavator_fail.go

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
package fail
2+
3+
fail
4+
5+
/*
6+
This is a non-compiling file that has been added to explicitly ensure that CI fails.
7+
It also contains the command that caused the failure and its output.
8+
Remove this file if debugging locally.
9+
10+
go mod operation failed. This may mean that there are legitimate dependency issues with the "go.mod" definition in the repository and the updates performed by the gomod check. This branch can be cloned locally to debug the issue.
11+
12+
Command that caused error:
13+
./godelw lint compiles
14+
15+
Output:
16+
server/handler/audit.go:1: : # github.com/palantir/policy-bot/server/handler
17+
server/handler/base.go:53:65: cannot use pr.GetBase().GetRepo() (value of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PreparePRContext
18+
server/handler/base.go:72:46: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to NewCrossOrgMembershipContext
19+
server/handler/base.go:73:66: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGitHubContext
20+
server/handler/base.go:82:66: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to b.ConfigFetcher.ConfigForRepositoryBranch
21+
server/handler/base.go:85:13: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in struct literal
22+
server/handler/check_run.go:49:57: cannot use &event (value of type *"github.com/google/go-github/v74/github".CheckRunEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v74/github".CheckRunEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)
23+
have GetInstallation() *"github.com/google/go-github/v74/github".Installation
24+
want GetInstallation() *"github.com/google/go-github/v75/github".Installation
25+
server/handler/check_run.go:51:67: cannot use repo (variable of type *"github.com/google/go-github/v74/github".Repository) as *"github.com/google/go-github/v75/github".Repository value in argument to githubapp.PrepareRepoContext
26+
server/handler/cross_org.go:66:51: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to pull.NewGitHubMembershipContext
27+
server/handler/details.go:144:66: cannot use client (variable of type *"github.com/google/go-github/v75/github".Client) as *"github.com/google/go-github/v74/github".Client value in argument to checkUserPermissions
28+
server/handler/details.go:164:58: cannot use pr (variable of type *"github.com/google/go-github/v75/github".PullRequest) as *"github.com/google/go-github/v74/github".PullRequest value in argument to h.PreparePRContext
29+
server/handler/details.go:164:58: too many errors (typecheck)
30+
// Copyright 2018 Palantir Technologies, Inc.
31+
1 issues:
32+
* typecheck: 1
33+
34+
*/

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
1414
github.com/hashicorp/golang-lru v1.0.2
1515
github.com/palantir/go-baseapp v0.6.0
16-
github.com/palantir/go-githubapp v0.38.1
16+
github.com/palantir/go-githubapp v0.38.2
1717
github.com/pkg/errors v0.9.1
1818
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9
1919
github.com/rs/zerolog v1.34.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
6969
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
7070
github.com/palantir/go-baseapp v0.6.0 h1:59UU9rgrd4x2QP/Hb0XqZJ5ZCH6m7BaaPnA+VWKWaTI=
7171
github.com/palantir/go-baseapp v0.6.0/go.mod h1:sa/waQhryV7OlPMykG0MUT+nsLtDxdHHPv5Q60hA/Ek=
72-
github.com/palantir/go-githubapp v0.38.1 h1:Pkb3yVErM0G85piU2DbJ9c1jlKc32bUZ/LMQqFqY6qQ=
73-
github.com/palantir/go-githubapp v0.38.1/go.mod h1:5MYLd1/cAhKITPQUDbdZ/vR8SsM7uGgohLCixOEbnGU=
72+
github.com/palantir/go-githubapp v0.38.2 h1:slLgNzasRzpV7kPJ+1Lw4hUtfMLEgzEeIdCROQQgwdE=
73+
github.com/palantir/go-githubapp v0.38.2/go.mod h1:aPDiEQZyG/U8IdY9sJt3KdmqKV00c6VjKw4NPzTSiV0=
7474
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
7575
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
7676
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

vendor/github.com/palantir/go-githubapp/appconfig/appconfig.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/caching_client_creator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/client_creator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/context.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/dispatcher.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/palantir/go-githubapp/githubapp/installations.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ github.com/palantir/go-baseapp/appmetrics/emitter/prometheus
7676
github.com/palantir/go-baseapp/baseapp
7777
github.com/palantir/go-baseapp/baseapp/datadog
7878
github.com/palantir/go-baseapp/pkg/errfmt
79-
# github.com/palantir/go-githubapp v0.38.1
79+
# github.com/palantir/go-githubapp v0.38.2
8080
## explicit; go 1.25.0
8181
github.com/palantir/go-githubapp/appconfig
8282
github.com/palantir/go-githubapp/githubapp

0 commit comments

Comments
 (0)