Skip to content

Latest commit

 

History

History

pre-commit

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Pre-Commit

pre-commit

Usage

The clowdhaus/terraform-composite-actions/pre-commit action will install the following tools which are intended to support the pre-commit hooks used within Terraform modules:

jobs:
  pre-commit:
    name: Pre-commit hooks execute
    runs-on: ubuntu-latest
    steps:
      - name: Sign AWS Lambda artifact
        uses: clowdhaus/terraform-composite-actions/pre-commit@main
        with:
          terraform-version: 1.2.0
          terraform-docs-version: v16.0.0
          install-hcledit: true
          hcledit-version: 0.2.3
          args: "--all-files --color always --show-diff-on-failure"