From 612e71b8b3c5139acfb08d5e0c033a470c2fcca2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nerijus=20Bend=C5=BEi=C5=ABnas?=
Date: Wed, 6 May 2026 19:44:22 +0300
Subject: [PATCH] docs: prepare version pins for upcoming v0.21.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bump README and landing-page action/pre-commit examples to v0.21.0
ahead of the tag so the published release ships with snippets that
point at itself rather than a copy of the previous version.
Signed-off-by: Nerijus Bendžiūnas
---
README.md | 14 +++++++-------
docs/index.html | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index a00cafb..8d20147 100644
--- a/README.md
+++ b/README.md
@@ -289,7 +289,7 @@ COMMIT_GUARD_GIT_TIMEOUT=30 commit-guard --range origin/main..HEAD
In GitHub Actions, set it at the step or job level:
```yaml
-- uses: benner/commit-guard@v0.20.1
+- uses: benner/commit-guard@v0.21.0
env:
COMMIT_GUARD_GIT_TIMEOUT: 30
with:
@@ -373,7 +373,7 @@ steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
```
Check all commits in a pull request:
@@ -389,7 +389,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
```
@@ -397,7 +397,7 @@ jobs:
Check a specific commit SHA (mirrors the positional CLI argument):
```yaml
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
with:
rev: ${{ github.sha }}
```
@@ -415,7 +415,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
disable: signed-off,signature
@@ -435,7 +435,7 @@ jobs:
When `output-file` is set the action exposes the path as an output:
```yaml
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
id: cg
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
@@ -451,7 +451,7 @@ Add to your `.pre-commit-config.yaml`:
---
repos:
- repo: https://github.com/benner/commit-guard
- rev: v0.20.1
+ rev: v0.21.0
hooks:
- id: commit-guard
- id: commit-guard-signature
diff --git a/docs/index.html b/docs/index.html
index 12d8590..f3de3c2 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -558,13 +558,13 @@ GitHub Actions #
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
disable: signed-off,signature
Check a specific commit SHA:
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
with:
rev: ${{ github.sha }}
@@ -583,7 +583,7 @@ GitHub Actions #
When output-file is set the action exposes the path as
a step output, making JSONL results available to subsequent steps:
- - uses: benner/commit-guard@v0.20.1
+ - uses: benner/commit-guard@v0.21.0
id: cg
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
@@ -596,7 +596,7 @@ pre-commit #
Add to .pre-commit-config.yaml:
repos:
- repo: https://github.com/benner/commit-guard
- rev: v0.20.1
+ rev: v0.21.0
hooks:
- id: commit-guard
- id: commit-guard-signature