Skip to content

Commit 003e7da

Browse files
committed
Update workflow to fail on diff
Signed-off-by: JeffMboya <[email protected]>
1 parent 54e8e6b commit 003e7da

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/helm-docs.yaml

+1-8
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,5 @@ jobs:
2424
output-file: "README.md"
2525
template-files: "README.md.gotmpl"
2626
git-push: false
27-
fail-on-diff: false
27+
fail-on-diff: true
2828

29-
# Show the output of the README.md file after it's generated
30-
- name: Show README.md content
31-
run: cat charts/magistrala/README.md
32-
33-
# Show the diff between the current README and the generated one (if fail-on-diff: true fails)
34-
- name: Show README diff
35-
run: git diff charts/magistrala/README.md

0 commit comments

Comments
 (0)