From 8b2c54bf57ea86892e77cd56d9646663dd2b0840 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 5 May 2022 11:07:30 +0200 Subject: [PATCH] ci: remove dco check (dco bot already does this) Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 7 ------- script/validate/dco | 12 ------------ 2 files changed, 19 deletions(-) delete mode 100755 script/validate/dco diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36a7738..c8e6c731 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,16 +36,9 @@ jobs: with: 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 working-directory: ./src/github.com/distribution/distribution run: | - DCO_VERBOSITY=-q script/validate/dco go build -i . make build make binaries diff --git a/script/validate/dco b/script/validate/dco deleted file mode 100755 index 401f3642..00000000 --- a/script/validate/dco +++ /dev/null @@ -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 \ No newline at end of file