-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove DCO check from makefile, move to .travis.yml
The DCO check is primarily only relevant as part of CI, so it doesn't need to be in the Makefile. A contributor looking to validate their commits can run script/validate/dco. Signed-off-by: Daniel Nephin <dnephin@gmail.com>
- Loading branch information
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -eu -o pipefail | ||
|
||
if ! command -v git-validation; then | ||
>&2 echo "ERROR: git-validation not found. Install with:" | ||
>&2 echo " go get -u github.com/vbatts/git-validation" | ||
exit 1 | ||
fi | ||
|
||
GIT_CHECK_EXCLUDE="./vendor" | ||
verbosity="${DCO_VERBOSITY--v}" | ||
git-validation "$verbosity" -run DCO,short-subject,dangling-whitespace |