Skip to content

Commit 232621b

Browse files
authored
chore: Fix up actions and pre-commit (#10)
Uses terraform_docs directly to generate inputs/outputs, and drops the GHA workflow as it doesn't work anymore
1 parent 7a87fc2 commit 232621b

File tree

6 files changed

+183
-998
lines changed

6 files changed

+183
-998
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/main.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1+
---
12
repos:
2-
- repo: https://github.com/mineiros-io/pre-commit-hooks
3-
rev: v0.4.1
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v6.0.0
45
hooks:
5-
- id: terraform-fmt
6-
- id: terraform-validate
7-
exclude: ^examples|.terraform/
8-
- id: tflint
9-
- id: phony-targets
10-
- id: terradoc-validate
11-
- id: terradoc-fmt
12-
- id: terradoc-generate
6+
- id: trailing-whitespace
7+
- id: end-of-file-fixer
8+
- id: mixed-line-ending
9+
- repo: https://github.com/antonbabenko/pre-commit-terraform
10+
rev: v1.89.0
11+
hooks:
12+
- id: terraform_fmt
13+
- id: terraform_tflint
14+
- id: terraform_docs
15+
args:
16+
- --hook-config=--add-to-existing-file=true
17+
- id: terraform_validate

0 commit comments

Comments
 (0)