Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Capitalize commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
bpicode committed Feb 4, 2018
1 parent 2146f52 commit af50fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func pullRequest(ctx *projectCtx) error {
title := "Automatic upgrade of dependencies by depbot"
head := fmt.Sprintf("%s:%s", ctx.user, ctx.featurebranch)
base := "master"
body := "Bot upgrade of dependencies using dep. Please review carefully. I will not answer to review comments."
body := "Automatic upgrade of dependencies using `dep`. Please review carefully. I will not answer to review comments, because I am a bot."

_, _, err := client.PullRequests.Create(context.Background(), ctx.owner, ctx.repo, &github.NewPullRequest{
Title: &title,
Expand Down Expand Up @@ -134,7 +134,7 @@ func gitCommit(ctx *projectCtx) error {
return errors.Wrap(err, "git add --all failed")
}

err = ctx.command("git", "commit", "--message=automatic upgrade of 3rd party dependencies").Run()
err = ctx.command("git", "commit", "--message=Upgrade of 3rd party dependencies").Run()
return errors.Wrap(err, "git commit failed")
}

Expand Down

0 comments on commit af50fa5

Please sign in to comment.