diff --git a/README.md b/README.md index a0365be..13aa35c 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,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.15.0 +- uses: benner/commit-guard@v0.16.0 env: COMMIT_GUARD_GIT_TIMEOUT: 30 with: @@ -270,7 +270,7 @@ steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.15.0 + - uses: benner/commit-guard@v0.16.0 ``` Check all commits in a pull request: @@ -286,7 +286,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.15.0 + - uses: benner/commit-guard@v0.16.0 with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} ``` @@ -294,7 +294,7 @@ jobs: Check a specific commit SHA (mirrors the positional CLI argument): ```yaml - - uses: benner/commit-guard@v0.15.0 + - uses: benner/commit-guard@v0.16.0 with: rev: ${{ github.sha }} ``` @@ -312,7 +312,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.15.0 + - uses: benner/commit-guard@v0.16.0 with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} disable: signed-off,signature @@ -329,7 +329,7 @@ jobs: When `output-file` is set the action exposes the path as an output: ```yaml - - uses: benner/commit-guard@v0.15.0 + - uses: benner/commit-guard@v0.16.0 id: cg with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} @@ -345,7 +345,7 @@ Add to your `.pre-commit-config.yaml`: --- repos: - repo: https://github.com/benner/commit-guard - rev: v0.15.0 + rev: v0.16.0 hooks: - id: commit-guard - id: commit-guard-signature diff --git a/docs/index.html b/docs/index.html index 9ae46fd..b735062 100644 --- a/docs/index.html +++ b/docs/index.html @@ -477,13 +477,13 @@
Check a specific commit SHA:
- - uses: benner/commit-guard@v0.14.1
+ - uses: benner/commit-guard@v0.16.0
with:
rev: ${{ github.sha }}
@@ -500,7 +500,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.14.1
+ - uses: benner/commit-guard@v0.16.0
id: cg
with:
range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
@@ -513,7 +513,7 @@ pre-commit #
Add to .pre-commit-config.yaml:
repos:
- repo: https://github.com/benner/commit-guard
- rev: v0.14.1
+ rev: v0.16.0
hooks:
- id: commit-guard
- id: commit-guard-signature