This repository was archived by the owner on Apr 6, 2026. It is now read-only.
Implement dev_center_project_environment_type using GitHub Coding Agent with a new GH Issue Template #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Setup TFLint | |
| uses: terraform-linters/setup-tflint@v4 | |
| 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 |