From 027ee2861da06acd483d4665a967b8d8fab82005 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Mon, 13 May 2019 20:48:26 +0100 Subject: [PATCH] Correct --sign-off to --signoff in bot feedback Signed-off-by: Richard Gee --- GET.md | 2 +- handler/pullRequestHandler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GET.md b/GET.md index fd8ffa0..6ce9eb9 100644 --- a/GET.md +++ b/GET.md @@ -25,7 +25,7 @@ You can use this file as a template: https://github.com/openfaas/faas/blob/maste * Now raise a PR to the `.CUSTOMERS` file -Raise a PR to this file, and make sure you use `git commit --sign-off` rather than the UI to make the PR +Raise a PR to this file, and make sure you use `git commit --signoff` rather than the UI to make the PR https://github.com/alexellis/derek/blob/master/.CUSTOMERS diff --git a/handler/pullRequestHandler.go b/handler/pullRequestHandler.go index caf74ab..e7cf7cb 100644 --- a/handler/pullRequestHandler.go +++ b/handler/pullRequestHandler.go @@ -143,7 +143,7 @@ func anonymousCommitComment(contributingURL string) string { func unsignedCommitComment(contributingURL string) string { return `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` + "`." +Tip: if you only have one commit so far then run: ` + "`" + `git commit --amend --signoff` + "`" + ` and then ` + "`" + `git push --force` + "`." } func emptyDescriptionComment(contributingURL string) string {