diff --git a/gh-actions/signed.sh b/gh-actions/signed.sh index c9abfec..0d2c0af 100644 --- a/gh-actions/signed.sh +++ b/gh-actions/signed.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e trailer=$(git log -1 --no-merges $commit --pretty='%B' | git interpret-trailers --parse 2>&1) +echo $trailer if [[ $trailer != Signed-off-by:* ]]; then printf '%s\n' "Commit is not signed, use git commit --amend --signoff" >&2 exit 1