Skip to content

Commit fbb8883

Browse files
Excavator: Manage go version (#725)
1 parent 1603f4b commit fbb8883

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

bulldozer/signals.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ func (signal MaxCommitsSignal) Matches(ctx context.Context, pullCtx pull.Context
344344
commits, _ := pullCtx.Commits(ctx)
345345

346346
if len(commits) <= int(signal) {
347-
return true, fmt.Sprintf("pull request has %q commits, which is less than or equal to the maximum of %q", len(commits), signal), nil
347+
return true, fmt.Sprintf("pull request has %d commits, which is less than or equal to the maximum of %d", len(commits), signal), nil
348348
}
349349

350350
return false, "", nil

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/palantir/bulldozer
22

3-
go 1.25.0
3+
go 1.26.0
44

55
require (
66
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500

server/handler/check_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (h *CheckRun) Handle(ctx context.Context, eventType, deliveryID string, pay
8080
// need to process the pull request.
8181
fullPR, _, err := client.PullRequests.Get(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber())
8282
if err != nil {
83-
return errors.Wrapf(err, "failed to fetch PR number %q for CheckRun", pr.GetNumber())
83+
return errors.Wrapf(err, "failed to fetch PR number %d for CheckRun", pr.GetNumber())
8484
}
8585
pullCtx := pull.NewGithubContext(client, fullPR)
8686

0 commit comments

Comments
 (0)