diff --git a/.github/workflows/helmchart.yml b/.github/workflows/helmchart.yml index 09498f4525bc..b2fde7c59846 100644 --- a/.github/workflows/helmchart.yml +++ b/.github/workflows/helmchart.yml @@ -7,6 +7,7 @@ on: jobs: build-and-push: + if: ${{ github.event_name != 'pull_request' }} runs-on: ubuntu-latest steps: @@ -30,7 +31,7 @@ jobs: elif [[ "${GITHUB_REF}" == refs/pull/* ]]; then SEM_VERSION="0.0.0-pr${{ github.event.pull_request.number }}" else - SEM_VERSION="${GITHUB_REF#refs/heads/}" + SEM_VERSION="0.0.0-${GITHUB_REF#refs/heads/}" fi echo "SEM_VERSION=${SEM_VERSION}" >> "$GITHUB_ENV"