Skip to content

Commit

Permalink
Add reviewdog/action-suggester for TF syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
awendt committed Dec 19, 2024
1 parent 6008310 commit 99db729
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tf-commenter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Post comments about TF syntax

on: pull_request

jobs:
post-format-comment:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.6.6
- name: Terraform Format
run: terraform fmt -recursive
- name: Suggest format changes
uses: reviewdog/action-suggester@v1
with:
tool_name: terraform fmt
level: error

0 comments on commit 99db729

Please sign in to comment.