From 003e7dab73a591fec2437f55cf08165f51c24e1d Mon Sep 17 00:00:00 2001 From: JeffMboya Date: Wed, 11 Sep 2024 11:17:48 +0300 Subject: [PATCH] Update workflow to fail on diff Signed-off-by: JeffMboya --- .github/workflows/helm-docs.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/helm-docs.yaml b/.github/workflows/helm-docs.yaml index ce22adf..a8b4552 100644 --- a/.github/workflows/helm-docs.yaml +++ b/.github/workflows/helm-docs.yaml @@ -24,12 +24,5 @@ jobs: output-file: "README.md" template-files: "README.md.gotmpl" git-push: false - fail-on-diff: false + fail-on-diff: true - # Show the output of the README.md file after it's generated - - name: Show README.md content - run: cat charts/magistrala/README.md - - # Show the diff between the current README and the generated one (if fail-on-diff: true fails) - - name: Show README diff - run: git diff charts/magistrala/README.md