From: Andrew Grimberg Date: Tue, 4 Feb 2025 22:51:17 +0000 (-0800) Subject: Chore: Update pre-commit frozen hooks X-Git-Tag: v0.91.2~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F73397%2F1;p=releng%2Fglobal-jjb.git Chore: Update pre-commit frozen hooks github.com/pre-commit/pre-commit-hooks: v4.5.0 -> v5.0.0 github.com/fsfe/reuse-tool: v3.0.2 -> v5.0.2 All other hooks converted to their frozen form Change-Id: Ib2b6eb5dfb9d8bc0fd1c602e482b63fe2f01709e Signed-off-by: Andrew Grimberg --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03a70e34..398cfab2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ # SPDX-License-Identifier: EPL-1.0 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0 hooks: - id: trailing-whitespace - id: no-commit-to-branch @@ -12,28 +12,28 @@ repos: - --branch=main - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier stages: [commit] - repo: https://github.com/jorisroovers/gitlint - rev: v0.19.1 + rev: acc9d9de6369b76d22cb4167029d2035e8730b98 # frozen: v0.19.1 hooks: - id: gitlint - repo: https://github.com/adrienverge/yamllint.git - rev: v1.35.1 + rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # frozen: v1.35.1 hooks: - id: yamllint - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 3.0.0 + rev: 38980559e3a605691d6579f96222c30778e5a69e # frozen: 3.0.0 hooks: - id: shellcheck - repo: https://github.com/btford/write-good - rev: v1.0.8 + rev: ab66ce10136dfad5146e69e70f82a3efac8842c1 # frozen: v1.0.8 hooks: - id: write-good exclude: > @@ -45,7 +45,7 @@ repos: )$ - repo: https://github.com/btford/write-good - rev: v1.0.8 + rev: ab66ce10136dfad5146e69e70f82a3efac8842c1 # frozen: v1.0.8 hooks: # Files listed below break the following write-good rules: # - adverb weakens meaning @@ -61,7 +61,7 @@ repos: files: docs/jjb/lf-ci-jobs.rst - repo: https://github.com/btford/write-good - rev: v1.0.8 + rev: ab66ce10136dfad5146e69e70f82a3efac8842c1 # frozen: v1.0.8 hooks: # Files listed below break the following write-good rules: # - is wordy or unneeded @@ -81,6 +81,6 @@ repos: )$ - repo: https://github.com/fsfe/reuse-tool - rev: bafd6d7683dec1189d7a477489f6b8770bffc0dd # frozen: v3.0.2 + rev: 60dfc6b2ad9e1f3eabfbcf3a0dc202ee89dc5a00 # frozen: v5.0.2 hooks: - id: reuse