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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ <h1>commit-guard</h1>
<pre><code id="hero-code">$ commit-guard
<span class="c-red">✗</span> <span class="c-dim">[subject]</span> subject does not match 'type(scope): description': WIP
<span class="c-red">✗</span> <span class="c-dim">[signed-off]</span> missing 'Signed-off-by' trailer — use 'git commit -s'
<span class="c-red">✗</span> <span class="c-dim">[signature]</span> commit is not signed (GPG/SSH)</code></pre>
<span class="c-red">✗</span> <span class="c-dim">[signature]</span> 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</code></pre>
</div>
<div class="hero-dots">
<button class="hero-dot" data-i="0"></button>
Expand Down Expand Up @@ -624,7 +626,7 @@ <h2>pre-commit <a href="#pre-commit" class="anchor">#</a></h2>
["$ 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],
Expand Down
Loading