From 25806fb60aeb2250c508a6e03f6bb16f32246a5d Mon Sep 17 00:00:00 2001 From: wajihyassine Date: Mon, 18 Dec 2023 15:14:41 -0800 Subject: [PATCH] Fix readme gen --- .github/workflows/generate-chart-readme.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/generate-chart-readme.yaml b/.github/workflows/generate-chart-readme.yaml index aa13869d..e42f269d 100644 --- a/.github/workflows/generate-chart-readme.yaml +++ b/.github/workflows/generate-chart-readme.yaml @@ -40,8 +40,7 @@ jobs: - name: Push changes run: | # Push all the changes - cd charts - if git status -s; then + if git status -s | grep charts; then git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" git add . && git commit -am "Update README.md with readme-generator-for-helm" --signoff && git push