From b82d7d4c60dc78077006175d302ec4eb55fbecc8 Mon Sep 17 00:00:00 2001 From: Son Date: Thu, 16 May 2024 22:45:15 -0400 Subject: [PATCH] gh action: fix commit condition --- .github/workflows/helm-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index db2de20..0038630 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -60,6 +60,7 @@ jobs: sed -i 's/version: '"$CURRENT_VERSION"'/version: '"$NEW_VERSION"'/' "$CHART_PATH" - name: Commit files and push it + if: github.event_name == 'workflow_call' run: | git add . git commit -m "chore: bump chart version"