File tree Expand file tree Collapse file tree 4 files changed +24
-7
lines changed Expand file tree Collapse file tree 4 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 validate :
13- uses : trussworks/shared-actions/.github/workflows/validate.yml@main
13+ uses : trussworks/shared-actions/.github/workflows/validate-tf .yml@main
Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v4.0.1
3+ rev : v4.4.0
44 hooks :
55 - id : check-json
66 - id : check-merge-conflict
@@ -10,13 +10,31 @@ repos:
1010 args :
1111 - --autofix
1212 - id : trailing-whitespace
13+ - id : check-symlinks
14+ - id : end-of-file-fixer
15+ - id : mixed-line-ending
16+
17+ - repo : https://github.com/executablebooks/mdformat
18+ rev : 0.7.16
19+ hooks :
20+ - id : mdformat
21+ additional_dependencies :
22+ - mdformat-gfm
23+ - mdformat-toc
24+ # mdformat fights with terraform_docs
25+ exclude : README.m(ark)?d(own)?
1326
1427 - repo : https://github.com/igorshubovych/markdownlint-cli
15- rev : v0.28.1
28+ rev : v0.33.0
1629 hooks :
1730 - id : markdownlint
1831
32+ - repo : https://github.com/detailyang/pre-commit-shell
33+ rev : 1.0.5
34+ hooks :
35+ - id : shell-lint
36+
1937 - repo : https://github.com/antonbabenko/pre-commit-terraform
20- rev : v1.75.0
38+ rev : v1.77.1
2139 hooks :
2240 - id : terraform_fmt
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module "trusted-advisor-refresh" {
2121}
2222```
2323
24- <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
24+ <!-- BEGIN_TF_DOCS -->
2525## Requirements
2626
2727| Name | Version |
@@ -70,4 +70,4 @@ No modules.
7070## Outputs
7171
7272No outputs.
73- <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
73+ <!-- END_TF_DOCS -->
Original file line number Diff line number Diff line change @@ -146,4 +146,3 @@ resource "aws_lambda_function" "main" {
146146 Environment = var.environment
147147 }
148148}
149-
You can’t perform that action at this time.
0 commit comments