diff --git a/README.md b/README.md index 9382811..724f94d 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,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.23.1 +- uses: benner/commit-guard@v0.24.0 env: COMMIT_GUARD_GIT_TIMEOUT: 30 with: @@ -395,7 +395,7 @@ steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 ``` Check all commits in a pull request: @@ -411,7 +411,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} ``` @@ -419,7 +419,7 @@ jobs: Check a specific commit SHA (mirrors the positional CLI argument): ```yaml - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 with: rev: ${{ github.sha }} ``` @@ -437,7 +437,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} disable: signed-off,signature @@ -458,7 +458,7 @@ jobs: When `output-file` is set the action exposes the path as an output: ```yaml - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 id: cg with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} @@ -474,7 +474,7 @@ Add to your `.pre-commit-config.yaml`: --- repos: - repo: https://github.com/benner/commit-guard - rev: v0.23.1 + rev: v0.24.0 hooks: - id: commit-guard - id: commit-guard-signature diff --git a/docs/index.html b/docs/index.html index 33d006a..f7a00bb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -575,13 +575,13 @@

GitHub Actions #

- uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: benner/commit-guard@v0.23.1 + - uses: benner/commit-guard@v0.24.0 with: range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }} disable: signed-off,signature

Check a specific commit SHA:

-
      - uses: benner/commit-guard@v0.23.1
+        
      - uses: benner/commit-guard@v0.24.0
         with:
           rev: ${{ github.sha }}
@@ -600,7 +600,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.23.1
+        
      - uses: benner/commit-guard@v0.24.0
         id: cg
         with:
           range: ${{ env.PR_BASE }}..${{ env.PR_HEAD }}
@@ -613,7 +613,7 @@ 

pre-commit #

Add to .pre-commit-config.yaml:

repos:
   - repo: https://github.com/benner/commit-guard
-    rev: v0.23.1
+    rev: v0.24.0
     hooks:
       - id: commit-guard
       - id: commit-guard-signature