feat: add permissions for managing container storage classes in AutoM… #17
This file contains 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: Check file formatting | |
on: [push] | |
jobs: | |
check_format: | |
runs-on: ubuntu-latest | |
name: Check Terraform file are formatted correctly | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: terraform fmt | |
uses: dflook/terraform-fmt-check@v1 | |
id: fmt-check | |
with: | |
path: . | |
- name: Wrong formatting found | |
if: ${{ failure() && steps.fmt-check.outputs.failure-reason == 'check-failed' }} | |
run: echo "formatting check failed" |