X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=b10d63f2accf58a023fcea4f7b0a14e2548f3c42;hb=HEAD;hp=f634d60ba1f1dba8329632001dd30cd9107594dd;hpb=2b7f910c16ae9c5ba084bbd797f50873897934ed;p=releng%2Fglobal-jjb.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f634d60b..b10d63f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: no-commit-to-branch @@ -10,23 +10,28 @@ repos: - --branch=main - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.2.1 + rev: v4.0.0-alpha.8 hooks: - id: prettier stages: [commit] - repo: https://github.com/jorisroovers/gitlint - rev: v0.15.1 + rev: v0.19.1 hooks: - id: gitlint + - repo: https://github.com/adrienverge/yamllint.git + rev: v1.35.1 + hooks: + - id: yamllint + - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 2.1.5 + rev: 3.0.0 hooks: - id: shellcheck - repo: https://github.com/btford/write-good - rev: v1.0.4 + rev: v1.0.8 hooks: - id: write-good exclude: > @@ -38,7 +43,7 @@ repos: )$ - repo: https://github.com/btford/write-good - rev: v1.0.4 + rev: v1.0.8 hooks: # Files listed below break the following write-good rules: # - adverb weakens meaning @@ -54,7 +59,7 @@ repos: files: docs/jjb/lf-ci-jobs.rst - repo: https://github.com/btford/write-good - rev: v1.0.4 + rev: v1.0.8 hooks: # Files listed below break the following write-good rules: # - is wordy or unneeded