Skip to content
Snippets Groups Projects
Commit e57d8ca1 authored by nimrod's avatar nimrod
Browse files

pre-commit updates.

- Update hooks.
- Add hook to validate .gitlab-ci.yml.
parent a130f772
No related branches found
No related tags found
No related merge requests found
Pipeline #1242 passed
...@@ -10,12 +10,12 @@ repos: ...@@ -10,12 +10,12 @@ repos:
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/Yelp/detect-secrets - repo: https://github.com/Yelp/detect-secrets
rev: v0.14.3 rev: v1.1.0
hooks: hooks:
- id: detect-secrets - id: detect-secrets
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.25.0 rev: v1.26.1
hooks: hooks:
- id: yamllint - id: yamllint
...@@ -27,7 +27,7 @@ repos: ...@@ -27,7 +27,7 @@ repos:
exclude: LICENSE exclude: LICENSE
- repo: https://github.com/executablebooks/mdformat.git - repo: https://github.com/executablebooks/mdformat.git
rev: 0.5.3 rev: 0.7.4
hooks: hooks:
- id: mdformat - id: mdformat
...@@ -37,7 +37,7 @@ repos: ...@@ -37,7 +37,7 @@ repos:
- id: shell-lint - id: shell-lint
- repo: https://github.com/shellcheck-py/shellcheck-py.git - repo: https://github.com/shellcheck-py/shellcheck-py.git
rev: v0.7.1.1 rev: v0.7.2.1
hooks: hooks:
- id: shellcheck - id: shellcheck
...@@ -46,3 +46,11 @@ repos: ...@@ -46,3 +46,11 @@ repos:
hooks: hooks:
- id: hadolint - id: hadolint
- id: docker-compose - id: docker-compose
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
rev: v1.0.3
hooks:
- id: gitlab-ci-linter
args:
- "--server"
- https://git.shore.co.il
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment