azurerm_kubernetes_flux_configuration - Updating fluxconfiguration sdk #34662
Workflow file for this run
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 Schema Linting | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| types: ['opened', 'synchronize'] | |
| paths: | |
| - '.github/workflows/tflint.yaml' | |
| - 'vendor/**' | |
| - '**.go' | |
| concurrency: | |
| group: 'tflint-${{ github.head_ref }}' | |
| cancel-in-progress: true | |
| jobs: | |
| tflint: | |
| runs-on: custom-linux-medium | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 | |
| with: | |
| go-version-file: ./.go-version | |
| - run: bash scripts/gogetcookie.sh | |
| - run: make tools | |
| - run: make tflint | |
| - name: Guidance on failure | |
| if: failure() | |
| run: | | |
| echo "::error::Terraform Schema Linting failed." | |
| echo "" | |
| echo "Run 'make tflint' locally to reproduce and fix the errors." | |
| echo "This check validates Terraform schema definitions in your resource and data source code." | |
| echo "Common issues include: missing descriptions, incorrect type definitions," | |
| echo "or schema validation rules that don't match the API." | |
| save-artifacts-on-fail: | |
| needs: tflint | |
| if: ${{ failure() }} | |
| uses: ./.github/workflows/save-artifacts.yaml | |
| comment-on-fail: | |
| needs: tflint | |
| if: ${{ failure() }} | |
| uses: ./.github/workflows/comment-failure.yaml |