diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index 17df884e..e213c747 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -47,7 +47,7 @@ jobs: # run: ct install --chart-dirs helm-chart --namespace kube-system --helm-extra-set-args "--set=apiToken=test --set=region=us-east" --target-branch ${{ github.event.repository.default_branch }} helm-release: - if: github.ref == 'refs/heads/main' + if: ${{ startsWith(github.ref, 'refs/tags/') }} needs: helm-test permissions: contents: write # for helm/chart-releaser-action to push chart release and create a release