Skip to content

Commit

Permalink
Debug github CI for signed commits
Browse files Browse the repository at this point in the history
Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Aug 21, 2023
1 parent c33bcc0 commit 5b80d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gh-actions/signed.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5b80d1f

Please sign in to comment.