From 6bbc08369b9e6d8c47dbf3472b5e267271142125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nerijus=20Bend=C5=BEi=C5=ABnas?= Date: Fri, 8 May 2026 06:37:56 +0300 Subject: [PATCH] docs: refresh signature error example after PR #111 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #111 expanded the signature failure message from "commit is not signed (GPG/SSH)" to a two-cause hint that names github.com/settings/keys as the likely fix. README and docs/index.html still showed the old text. The new wording wraps to three lines under the [signature] label. Signed-off-by: Nerijus Bendžiūnas --- README.md | 4 +++- docs/index.html | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71109e6..fffa3df 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,9 @@ Opinionated conventional commit message linter with imperative mood detection. $ commit-guard ✗ [subject] subject does not match 'type(scope): description': WIP ✗ [signed-off] missing 'Signed-off-by' trailer — use 'git commit -s' - ✗ [signature] commit is not signed (GPG/SSH) + ✗ [signature] signature could not be verified — commit may be + unsigned, or signed with a key not uploaded as a + Signing key on https://github.com/settings/keys ``` ## Installation diff --git a/docs/index.html b/docs/index.html index 0a1cb92..7d9c0c5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -294,7 +294,9 @@

commit-guard

$ commit-guard
    [subject] subject does not match 'type(scope): description': WIP
    [signed-off] missing 'Signed-off-by' trailer — use 'git commit -s'
-   [signature] commit is not signed (GPG/SSH)
+ [signature] signature could not be verified — commit may be + unsigned, or signed with a key not uploaded as a + Signing key on https://github.com/settings/keys
@@ -624,7 +626,7 @@

pre-commit #

["$ commit-guard\n ", null], ["✗", "c-red"], [" [subject]", "c-dim"], [" subject does not match 'type(scope): description': WIP\n ", null], ["✗", "c-red"], [" [signed-off]", "c-dim"], [" missing 'Signed-off-by' trailer — use 'git commit -s'\n ", null], - ["✗", "c-red"], [" [signature]", "c-dim"], [" commit is not signed (GPG/SSH)", null], + ["✗", "c-red"], [" [signature]", "c-dim"], [" signature could not be verified — commit may be\n unsigned, or signed with a key not uploaded as a\n Signing key on https://github.com/settings/keys", null], ], [ ["$ commit-guard --range origin/main..HEAD\n", null],