Skip to content

Commit 00a56d8

Browse files
authored
Fix Terraform module doc check action (#3)
Signed-off-by: Jim Enright <[email protected]>
1 parent bea0a62 commit 00a56d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check_terraform_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
TERRAFORM_DOCS_VERSION: v0.20.0
2424

2525
jobs:
26-
check-tf-fmt:
26+
check-tf-docs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
@@ -32,7 +32,7 @@ jobs:
3232
- name: Find the modules
3333
id: find_modules
3434
run: |
35-
echo "MODULES=$(find modules/ -maxdepth 1 -type d -name 'terraform-*' | paste -sd,)" >> "$GITHUB_ENV"
35+
echo "MODULES=$(find modules/ -mindepth 1 -maxdepth 1 -type d | paste -sd,)" >> "$GITHUB_ENV"
3636
3737
- name: Print list of modules
3838
run: |

0 commit comments

Comments
 (0)