Skip to content

Commit de9326f

Browse files
committed
fix: accept unknown validity in GPG signature check
1 parent 96a0d49 commit de9326f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-gpg.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
3434
- name: Verify commit is signed
3535
run: |
36-
if git log -1 --format="%G?" | grep -q "G"; then
36+
SIG_STATUS=$(git log -1 --format="%G?")
37+
echo "Signature status: $SIG_STATUS"
38+
if [[ "$SIG_STATUS" == "G" ]] || [[ "$SIG_STATUS" == "U" ]]; then
3739
echo "✅ Commit is properly signed!"
3840
else
3941
echo "❌ Commit is NOT signed!"

0 commit comments

Comments
 (0)