Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/config/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@ repos:
language: script
pass_filenames: false
stages: [manual]
- id: terraform-fmt
name: Format Terraform files
entry: make terraform-fmt
language: system
pass_filenames: false
2 changes: 1 addition & 1 deletion scripts/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ githooks-run: # Run git hooks configured in this repository @Operations
--config scripts/config/pre-commit.yaml \
--all-files

githooks-dependencies: # Run git hook for manually scanning depdencies
githooks-dependencies: # Run git hook for manually scanning dependencies
pre-commit run \
--config scripts/config/pre-commit.yaml \
--hook-stage manual scan-dependencies \
Expand Down
Loading