Fix: Update gradle job for build and publish
[releng/global-jjb.git] / .pre-commit-config.yaml
index 4738b01..03a70e3 100644 (file)
@@ -1,7 +1,9 @@
 ---
+# SPDX-FileCopyrightText: 2017 The Linux Foundation
+# SPDX-License-Identifier: EPL-1.0
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.2.0
+    rev: v4.5.0
     hooks:
       - id: trailing-whitespace
       - id: no-commit-to-branch
@@ -10,23 +12,23 @@ repos:
           - --branch=main
 
   - repo: https://github.com/pre-commit/mirrors-prettier
-    rev: v2.6.2
+    rev: v4.0.0-alpha.8
     hooks:
       - id: prettier
         stages: [commit]
 
   - repo: https://github.com/jorisroovers/gitlint
-    rev: v0.17.0
+    rev: v0.19.1
     hooks:
       - id: gitlint
 
   - repo: https://github.com/adrienverge/yamllint.git
-    rev: v1.26.3
+    rev: v1.35.1
     hooks:
       - id: yamllint
 
   - repo: https://github.com/jumanjihouse/pre-commit-hooks
-    rev: 2.1.6
+    rev: 3.0.0
     hooks:
       - id: shellcheck
 
@@ -77,3 +79,8 @@ repos:
             docs/jjb/lf-macros.rst|
             docs/jjb/lf-python-jobs.rst
           )$
+
+  - repo: https://github.com/fsfe/reuse-tool
+    rev: bafd6d7683dec1189d7a477489f6b8770bffc0dd # frozen: v3.0.2
+    hooks:
+      - id: reuse