File: dco

package info (click to toggle)
docker-registry 2.7.1%2Bds2-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 3,004 kB
  • sloc: sh: 331; makefile: 78
file content (12 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
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

verbosity="${DCO_VERBOSITY--v}"
GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -run DCO,short-subject,dangling-whitespace