Add pre-commit hooks that lint.
This commit is contained in:
parent
29c738c5e4
commit
aa0dbcba8e
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/sh
|
||||||
|
|
||||||
|
yamllint .
|
||||||
|
ansible-lint
|
||||||
|
|
@ -181,6 +181,8 @@
|
||||||
dest: .yamllint
|
dest: .yamllint
|
||||||
- source: FUNDING.yml
|
- source: FUNDING.yml
|
||||||
dest: .github/FUNDING.yml
|
dest: .github/FUNDING.yml
|
||||||
|
- source: pre-commit
|
||||||
|
dest: .git/hooks/pre-commit
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.source }}"
|
label: "{{ item.source }}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue