You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shield does not accept commits that are not signed with GPG KEY, so there is an Github Action to automatically check the signature of commits and add a tag GPG-Signing needed and a comment to explain:
This is a shell script to check GPG signature by ChatGPT.
#!/bin/bash
commit_hash=$1if [ -z"$commit_hash" ];thenecho"Usage: $0 <commit-hash>"exit 1
fi
signature=$(git show "$commit_hash" --show-signature 2>&1| grep -o "gpg: Good signature")if [ -z"$signature" ];thenecho"Error: Commit $commit_hash does not have a valid GPG signature."exit 1
fiecho"Commit $commit_hash has a valid GPG signature."
Shield does not accept commits that are not signed with GPG KEY, so there is an Github Action to automatically check the signature of commits and add a tag GPG-Signing needed and a comment to explain:
How to setup a GPG key
How to GPG-Signing Old Commits
The text was updated successfully, but these errors were encountered: