Skip to content

Commit dcc885e

Browse files
committed
test review doc action
1 parent a2db35a commit dcc885e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/terraform.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,18 @@ jobs:
4444
- name: validate terraform
4545
run: terraform validate
4646
- if: contains(matrix.terraform, '1.3.')
47-
name: Setup TFLint
48-
uses: terraform-linters/setup-tflint@v2
49-
- if: contains(matrix.terraform, '1.3.')
50-
name: Run TFLint
51-
run: tflint -f compact
47+
- name: tflint
48+
uses: reviewdog/action-tflint@master
49+
with:
50+
github_token: ${{ secrets.GITHUB_TOKEN }}
51+
fail_on_error: "true" # Optional. Fail action if errors are found
52+
filter_mode: "nofilter" # Optional. Check all files, not just the diff
53+
54+
# name: Setup TFLint
55+
# uses: terraform-linters/setup-tflint@v2
56+
# - if: contains(matrix.terraform, '1.3.')
57+
# name: Run TFLint
58+
# run: tflint -f compact
5259

5360
verify_examples:
5461
name: Verify examples

0 commit comments

Comments
 (0)