We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0272b6 commit 31db085Copy full SHA for 31db085
.github/workflows/linter.yaml
@@ -19,7 +19,7 @@ jobs:
19
run: |
20
terraform version
21
results=$(find . -type f -name "*.tf" ! -path "*/.terraform/*" -exec terraform fmt -check {} \;)
22
- if [ -n "$results" ]; then
+ if [[ -n "$results" ]]; then
23
echo "Terraform files must be formatted with 'terraform fmt'. Please run 'terraform fmt' and commit the changes."
24
echo "$results"
25
exit 1
@@ -36,7 +36,7 @@ jobs:
36
- name: YAML linter
37
38
results=$(find . -type f -name "*.yaml" -o -name "*.yml" -exec yamllint {} \;)
39
40
echo "YAML files must be formatted with 'yamllint'. Please run 'yamllint' and commit the changes."
41
42
0 commit comments