Merge pull request #45820 from thaJeztah/re_enable_dco

Revert "Temporarily skip DCO check"
This commit is contained in:
Sebastiaan van Stijn 2023-06-27 11:00:17 +02:00 committed by GitHub
commit b1569b9c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,14 +35,14 @@ jobs:
return context.payload.pull_request.base.ref;
}
return context.ref.replace(/^refs\/heads\//g, '');
# -
# name: Validate
# run: |
# docker run --rm \
# -v "$(pwd):/workspace" \
# -e VALIDATE_REPO \
# -e VALIDATE_BRANCH \
# alpine:${{ env.ALPINE_VERSION }} sh -c 'apk add --no-cache -q bash git openssh-client && git config --system --add safe.directory /workspace && cd /workspace && hack/validate/dco'
# env:
# VALIDATE_REPO: ${{ github.server_url }}/${{ github.repository }}.git
# VALIDATE_BRANCH: ${{ steps.base-ref.outputs.result }}
-
name: Validate
run: |
docker run --rm \
-v "$(pwd):/workspace" \
-e VALIDATE_REPO \
-e VALIDATE_BRANCH \
alpine:${{ env.ALPINE_VERSION }} sh -c 'apk add --no-cache -q bash git openssh-client && git config --system --add safe.directory /workspace && cd /workspace && hack/validate/dco'
env:
VALIDATE_REPO: ${{ github.server_url }}/${{ github.repository }}.git
VALIDATE_BRANCH: ${{ steps.base-ref.outputs.result }}