Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Bump the actions group across 1 directory with 2 updates #41

Bump the actions group across 1 directory with 2 updates

Bump the actions group across 1 directory with 2 updates #41

name: Terraform Lint
on:
pull_request:
paths:
- '**.tf'
- '**.tfvars'
- '.github/workflows/terraform-lint.yml'
permissions:
contents: read
pull-requests: write # Needed for commenting on PRs
jobs:
tflint:
name: TFLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v6
with:
tflint_version: v0.46.1
- name: Init TFLint
run: tflint --init
- name: Run TFLint
id: tflint
run: |
tflint -f json > tflint_results.json || echo "TFLint found issues"
tflint -f compact