From fcb01aa35081df4fb0cb96170e1906c2ee872cdd Mon Sep 17 00:00:00 2001 From: sd109 Date: Fri, 30 Aug 2024 16:53:16 +0100 Subject: [PATCH] Add dev version check to Helm publish workflow --- .github/workflows/helm-build-push.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/helm-build-push.yml b/.github/workflows/helm-build-push.yml index 6dc330deace..bfd01a0120b 100644 --- a/.github/workflows/helm-build-push.yml +++ b/.github/workflows/helm-build-push.yml @@ -19,6 +19,10 @@ jobs: with: fetch-depth: 0 + - name: Fail on dev chart version + run: yq .version deployment/helm/Chart.yaml | grep -v "[-\w]" + if: ${{ github.ref_name == 'main'}} + - name: Configure Git run: | git config user.name "$GITHUB_ACTOR"