feat: add pre-commit check in ci
ci/woodpecker/pr/pre-commit Pipeline was successful

- add a ci workflow to verify pre-commit passes
- fix pre-commit errors/warnings:
  - missing required_version
  - missing required_providers
  - fixed terraform_deprecated_interpolation
  - removed terraform_unused_declarations
This commit is contained in:
2026-02-28 18:05:42 +11:00
parent 9e6de4dc32
commit 66119e5207
32 changed files with 216 additions and 51 deletions
+9
View File
@@ -0,0 +1,9 @@
when:
- event: pull_request
steps:
- name: pre-commit
image: git.unkin.net/unkin/almalinux9-base:latest
commands:
- dnf install uv opentofu terragrunt tflint -y
- uvx pre-commit run --all-files