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
19 changes: 2 additions & 17 deletions .github/workflows/doc-check-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,14 @@ jobs:

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

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

if [ -n "${{ secrets.GPG_PUBLIC_KEY_3 }}" ]; then
echo "${{ secrets.GPG_PUBLIC_KEY_3 }}" | gpg --import
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

if [ -n "${{ secrets.GPG_PUBLIC_KEY_5 }}" ]; then
echo "${{ secrets.GPG_PUBLIC_KEY_5 }}" | gpg --import
echo "✅ Imported GPG_PUBLIC_KEY_5 (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 @@ -112,7 +97,7 @@ jobs:
echo "🔑 Fingerprint: $FINGERPRINT"

# Replaced the short ID with the full 40-character fingerprint
TRUSTED_KEYS="261CFF44C4FAFA769A4891463BAE437F39286F36 5CC01F41CD084AAC0593108DD432152833DA3244 A38379B51EB75EF1877A83ADBE677DAEFE33CB57 1606642895F688C9299B9E0AC97540DA6C9FA85C F5959E720D1C3DFACAD27E7588F6CD4E295C9062 97C68C42AB4DD4797FA5EB93E9A0198A7C7B3BD6"
TRUSTED_KEYS="261CFF44C4FAFA769A4891463BAE437F39286F36 DB132FC61BAE7350EA4F82D200BB565628B8821D 97C68C42AB4DD4797FA5EB93E9A0198A7C7B3BD6"

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