We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae179fa commit cff3febCopy full SHA for cff3feb
.github/workflows/documentation.yaml
@@ -14,22 +14,10 @@ jobs:
14
uses: actions/checkout@v4
15
16
- name: Setup terraform-docs
17
- uses: terraform-docs/gh-actions@v1.2.0
+ uses: terraform-docs/gh-actions@v1.4.1
18
with:
19
working-dir: .
20
output-file: README.md
21
output-method: inject
22
git-push: "false"
23
-
24
- - name: Check if README.md is up-to-date
25
- run: |
26
- make generate-doc
27
- if [ -n "$(git status --porcelain)" ]; then
28
- echo "ERROR: README.md is not up-to-date. Run 'make generate-doc' locally and commit the changes."
29
- echo
30
- git diff
31
32
- git status
33
- exit 1
34
- fi
35
- echo "README.md is up-to-date!"
+ fail-on-diff: true
0 commit comments