`git log --show-signature` prints `error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification`.
AdvancedTroubleshootingGitHub, Actions and Pull Request Issues
Answer
Likely causes → You use SSH commit signing. Signing works, but local verification needs an allowed-signers file mapping emails to public keys; GitHub has its own list, your laptop does not.
Diagnose → git config --get gpg.ssh.allowedSignersFile
Fix →
mkdir -p ~/.config/git
echo "[email protected] $(cat ~/.ssh/id_ed25519.pub)" >> ~/.config/git/allowed_signers
git config --global gpg.ssh.allowedSignersFile ~/.config/git/allowed_signers
git log --show-signature -1 # Good "git" signature for [email protected]
For team-wide verification, commit an allowed_signers file of maintainer keys and point the config at it.
Prevent → Include the allowed-signers setup in the same onboarding step that enables SSH signing.
More on GitHub, Actions and Pull Request Issues
A workflow step that pushes a version bump fails with `remote: Permission to org/repo.git denied to github-actions[bot].` and `The requested URL returned error: 403`.IntermediateA workflow pushes a commit or tag, but the workflow that should run on that push or tag never starts.IntermediateA container job fails on any Git command with `fatal: detected dubious ownership in repository at '/__w/app/app'`.IntermediateYour PR suddenly shows 340 changed files and dozens of commits you did not write.IntermediateThe PR is stuck on `Expected — Waiting for status to be reported` for a required check called `build`.IntermediateThe PR was approved, but merging shows "Review required" again after you pushed a small fix.Beginner