Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/doc-check-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ jobs:
echo "✅ Imported GPG_PUBLIC_KEY_3 (Contributor Account)"
fi

if [ -n "${{ secrets.GPG_PUBLIC_KEY_4 }}" ]; then
echo "${{ secrets.GPG_PUBLIC_KEY_4 }}" | gpg --import
echo "✅ Imported GPG_PUBLIC_KEY_4 (Contributor Account)"
fi

# ---------- Verify latest commit ----------
- name: Verify commit signature
# FIX: Only run strict verification if the PR is from the same repo (internal/trusted) or if it's a direct push
Expand Down Expand Up @@ -102,7 +107,7 @@ jobs:
echo "🔑 Fingerprint: $FINGERPRINT"

# Replaced the short ID with the full 40-character fingerprint
TRUSTED_KEYS="83FB991D930D7177F25456C07F4C7CA953E1C09E 5CC01F41CD084AAC0593108DD432152833DA3244 A38379B51EB75EF1877A83ADBE677DAEFE33CB57 1606642895F688C9299B9E0AC97540DA6C9FA85C"
TRUSTED_KEYS="83FB991D930D7177F25456C07F4C7CA953E1C09E 5CC01F41CD084AAC0593108DD432152833DA3244 A38379B51EB75EF1877A83ADBE677DAEFE33CB57 1606642895F688C9299B9E0AC97540DA6C9FA85C F5959E720D1C3DFACAD27E7588F6CD4E295C9062"

if echo "$TRUSTED_KEYS" | grep -q "$FINGERPRINT"; then
echo "✅ Trusted key"
Expand Down
Loading
Loading