Browse Source

Merge pull request #6883 from tianon/fix-dco-parsing-for-numeric

Fix DCO parsing for numeric github handles like cpuguy83
Tianon Gravi 11 years ago
parent
commit
09927fdbae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hack/make/validate-dco

+ 1 - 1
hack/make/validate-dco

@@ -10,7 +10,7 @@ notDocs="$(validate_diff --numstat | awk '$3 !~ /^docs\// { print $3 }')"
 : ${dels:=0}
 
 # "Username may only contain alphanumeric characters or dashes and cannot begin with a dash"
-githubUsernameRegex='[a-zA-Z][a-zA-Z-]+'
+githubUsernameRegex='[a-zA-Z0-9][a-zA-Z0-9-]+'
 
 # https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#sign-your-work
 dcoPrefix='Docker-DCO-1.1-Signed-off-by:'