diff --git a/docs/running-locally.md b/docs/running-locally.md index c2f2fb9fd4b6..6b796d4ac699 100644 --- a/docs/running-locally.md +++ b/docs/running-locally.md @@ -199,6 +199,7 @@ Before you commit code and raise a PR, always run: ```bash make pre-commit -B +SKIP_PRIVATE_REPO=true make test ``` Please do the following when creating your PR: diff --git a/hack/git/hooks/pre-commit b/hack/git/hooks/pre-commit index 2853f3e4caf9..3166e8137ac2 100755 --- a/hack/git/hooks/pre-commit +++ b/hack/git/hooks/pre-commit @@ -10,7 +10,7 @@ else fi if find dist/test -mmin -${m} | grep .; then - echo "✅ \`make test\` was run in the last ${m}m" + echo "✅ \`SKIP_PRIVATE_REPO=true make test\` was run in the last ${m}m" else - echo "⚠️️ \`make test\` has not been run for over ${m}m" -fi \ No newline at end of file + echo "⚠️️ \`SKIP_PRIVATE_REPO=true make test\` has not been run for over ${m}m" +fi