ci: remove dco check (dco bot already does this)

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-05-05 11:07:30 +02:00
parent 87941225ed
commit 8b2c54bf57
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 0 additions and 19 deletions

View file

@ -36,16 +36,9 @@ jobs:
with: with:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- name: Dependencies
run: |
sudo apt-get -q update
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install python2-minimal
cd /tmp && go install github.com/vbatts/git-validation@latest
- name: Build - name: Build
working-directory: ./src/github.com/distribution/distribution working-directory: ./src/github.com/distribution/distribution
run: | run: |
DCO_VERBOSITY=-q script/validate/dco
go build -i . go build -i .
make build make build
make binaries make binaries

View file

@ -1,12 +0,0 @@
#!/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 install github.com/vbatts/git-validation@latest"
exit 1
fi
verbosity="${DCO_VERBOSITY--v}"
GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -range "$COMMIT_RANGE" -run DCO,short-subject,dangling-whitespace