Skip to content
Merged
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 bulldozer/signals.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ func (signal MaxCommitsSignal) Matches(ctx context.Context, pullCtx pull.Context
commits, _ := pullCtx.Commits(ctx)

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

return false, "", nil
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/palantir/bulldozer

go 1.25.0
go 1.26.0

require (
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
Expand Down
2 changes: 1 addition & 1 deletion server/handler/check_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (h *CheckRun) Handle(ctx context.Context, eventType, deliveryID string, pay
// need to process the pull request.
fullPR, _, err := client.PullRequests.Get(ctx, repo.GetOwner().GetLogin(), repo.GetName(), pr.GetNumber())
if err != nil {
return errors.Wrapf(err, "failed to fetch PR number %q for CheckRun", pr.GetNumber())
return errors.Wrapf(err, "failed to fetch PR number %d for CheckRun", pr.GetNumber())
}
pullCtx := pull.NewGithubContext(client, fullPR)

Expand Down
Loading