Skip to content
Snippets Groups Projects
Unverified Commit 8fc2e6cb authored by Thomas Woerner's avatar Thomas Woerner Committed by GitHub
Browse files

Merge pull request #470 from rjeffman/tools_speed_up_commit

Faster pre-commit by running ansible-lint only when necessary.
parents 5634f94e 3d4affcb
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ repos:
rev: v4.3.5
hooks:
- id: ansible-lint
always_run: true
always_run: false
pass_filenames: true
files: \.(yaml|yml)$
entry: env ANSIBLE_LIBRARY=./plugins/modules ANSIBLE_MODULE_UTILS=./plugins/module_utils ansible-lint --force-color
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment