From e5ac22226827dd43839d3b09cb916037d6844a1b Mon Sep 17 00:00:00 2001 From: Ritchie Frodomar Date: Wed, 16 Oct 2024 21:10:33 -0400 Subject: [PATCH] Remove the verbose bash logging in DCO check --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c01a765e..eecab176 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,6 @@ check_signoff: stage: legal image: cr.acidiclight.dev/docker-images/tinygit/tinygit:latest script: | - set -x COMMITTER_EMAIL=$(git log -1 --pretty=format:'%ae') MAINTAINER_CHECK=$(curl -s --header "PRIVATE-TOKEN: $CI_PRIVILEGED_ACCESS_TOKEN" "https://gitlab.acidiclight.dev/api/v4/projects/$CI_PROJECT_ID/members/all" | jq --arg EMAIL "$COMMITTER_EMAIL" '.[] | select(.email == $EMAIL and .access_level >= 40)') if [ -z "$MAINTAINER_CHECK" ]; then echo $CI_COMMIT_MESSAGE | grep "Signed-off-by: $CI_COMMIT_AUTHOR"; fi