Commit fda9c3a 1 parent 753f9f3 commit fda9c3a Copy full SHA for fda9c3a
File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 42
42
hooks:
43
43
- id: conventional-pre-commit
44
44
stages: [commit-msg]
45
- args: []
45
+ args: [--strict ]
46
46
47
47
## SECURITY
48
48
- repo: https://github.com/gitleaks/gitleaks
Original file line number Diff line number Diff line change 57
57
cmds :
58
58
- for : [
59
59
tf:fmt,
60
- tf:vaildate ,
60
+ tf:validate ,
61
61
tflint,
62
62
]
63
63
task : lint:{{.ITEM}}
81
81
cmds :
82
82
- find {{.DIRECTORY}} -name "*.tf" -exec terraform fmt {} \;
83
83
84
- lint:tf:vaildate :
84
+ lint:tf:validate :
85
85
desc : Run terraform validate
86
86
internal : true
87
87
preconditions :
@@ -100,7 +100,7 @@ tasks:
100
100
- sh : test -f .tflint.hcl
101
101
msg : " No .tflint.hcl file found."
102
102
cmds :
103
- - tflint --module
103
+ - tflint
104
104
105
105
# * Actions
106
106
actions:docs :
Original file line number Diff line number Diff line change 31
31
cmds:
32
32
- task: license:lint
33
33
- task: tf:lint
34
+
35
+ generate:
36
+ desc: Generate files
37
+ cmds:
38
+ - task: license:run
39
+ - task: tf:actions:docs
You can’t perform that action at this time.
0 commit comments