From eb544460d30433d55d7230d2b2b63e651fef2ed1 Mon Sep 17 00:00:00 2001 From: Hasal Dharmagunawradana <107778591+hesxo@users.noreply.github.com> Date: Wed, 1 Apr 2026 23:37:35 +0530 Subject: [PATCH] Update release workflow to trigger on tag pushes Signed-off-by: Hasal Dharmagunawradana <107778591+hesxo@users.noreply.github.com> --- .github/workflows/release.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 017687cc1..a24271cb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,18 @@ name: release + on: - create: - tags: - - v* push: + tags: + - 'v*' branches: - main -permissions: read-all +permissions: + contents: read + +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: false # Note the only differences between release and canary-release jobs are: # - only canary passes --overwrite flag @@ -32,8 +37,10 @@ jobs: with: go-version: '${{ env.GOLANG_VERSION }}' check-latest: true + - name: Run unit tests run: make test-coverage + - name: Build Helm Binaries run: | set -eu -o pipefail @@ -101,6 +108,7 @@ jobs: - name: Build Helm Binaries run: | + set -eu -o pipefail make build-cross make dist checksum VERSION="canary"