Skip to content

Commit 5349304

Browse files
authored
Merge branch 'master' into tryvi_scanner
2 parents 2c1f2e5 + acf85ff commit 5349304

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/reusable-tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
- name: Download all the dists
269269
if: >-
270270
contains(fromJSON('["metadata-validation", "pytest"]'), inputs.toxenv)
271-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
271+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
272272
with:
273273
name: ${{ inputs.dists-artifact-name }}
274274
path: dist/

.pre-commit-hooks.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
Rewrites all Terraform configuration files to a canonical format.
1414
entry: hooks/terraform_fmt.sh
1515
language: script
16-
files: \.(tf|tofu|tfvars)$
16+
# Supported extensions by Terraform specified in
17+
# https://github.com/hashicorp/terraform/blob/0c63fb2b097edcd5cb1a91322765a414206fbea2/internal/command/fmt.go#L30-L35
18+
files: \.(tf|tofu|tfvars|tftest\.hcl|tfmock\.hcl)$
1719
exclude: \.terraform/.*$
1820

1921
- id: terraform_docs

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [1.100.0](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.99.5...v1.100.0) (2025-08-08)
6+
7+
8+
### Features
9+
10+
* **`terraform_fmt`:** Add support for `.tftest.hcl` and `.tfmock.hcl` formatting ([#911](https://github.com/antonbabenko/pre-commit-terraform/issues/911)) ([7433e13](https://github.com/antonbabenko/pre-commit-terraform/commit/7433e138f8b346687d4ff6357d7b48be709d8130)), closes [/github.com/hashicorp/terraform/blob/0c63fb2b097edcd5cb1a91322765a414206fbea2/internal/command/fmt.go#L30-L35](https://github.com//github.com/hashicorp/terraform/blob/0c63fb2b097edcd5cb1a91322765a414206fbea2/internal/command/fmt.go/issues/L30-L35)
11+
512
## [1.99.5](https://github.com/antonbabenko/pre-commit-terraform/compare/v1.99.4...v1.99.5) (2025-07-08)
613

714

0 commit comments

Comments
 (0)