Skip to content

Commit

Permalink
Update contributor no-DCO message
Browse files Browse the repository at this point in the history
- this change is to reduce maintainer fatigue.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 8, 2019
1 parent 29e67e5 commit e89414b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions handler/pullRequestHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ func HandlePullRequest(req types.PullRequestOuter, contributingURL string, confi
log.Fatalf("%s limit: %d, remaining: %d", assignLabelErr, res.Limit, res.Remaining)
}

body := `Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off.
That's something we need before your Pull Request can be merged. Please see our [contributing guide](` + contributingURL + `).`
body :=
`Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. That's something we need before your Pull Request can be merged. Please see our [contributing guide](` + contributingURL + `).
Tip: if you only have one commit so far then run: ` + "`" + `git commit --amend --sign-off` + "`" + ` and then ` + "`" + `git push --force` + "`."

comment := &github.IssueComment{
Body: &body,
Expand Down

0 comments on commit e89414b

Please sign in to comment.