Skip to content

chore: bump app version to v3.4.1 and chart to v1.16.2 #44

chore: bump app version to v3.4.1 and chart to v1.16.2

chore: bump app version to v3.4.1 and chart to v1.16.2 #44

Workflow file for this run

name: Release Helm chart
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
on:
push:
branches:
- main
paths:
- deploy/helm/Chart.yaml
workflow_dispatch:
inputs:
skip-e2e:
description: Skip e2e tests
type: boolean
default: false
permissions:
contents: read
packages: read
jobs:
detect:
runs-on: ubuntu-24.04
outputs:
skip: ${{ steps.detect.outputs.chart_release_exists }}
chart_version: ${{ steps.detect.outputs.chart_version }}
app_version_bumped: ${{ steps.detect.outputs.app_release_exists == 'false' }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true
- id: detect
uses: ./.github/actions/detect-versions
# The E2E tests are run when the chart version is bumped, but will be skipped if the appVersion
# has been bumped as well. The release-app action will then run the E2E tests instead.
e2e:
needs: detect
if: needs.detect.outputs.skip == 'false' && needs.detect.outputs.app_version_bumped == 'false' && !inputs['skip-e2e']
uses: ./.github/workflows/_reusable-e2e.yaml
secrets: inherit
release-helm:
needs: [detect, e2e]
if: ${{ always() && needs.detect.outputs.skip == 'false' && (needs.e2e.result == 'success' || needs.e2e.result == 'skipped') }}
uses: upcloud-tools/gha-actions/.github/workflows/release-helm-chart.yaml@c0df829cbad57268497db8cfb6174419f925b283
with:
chart_version: ${{ needs.detect.outputs.chart_version }}
secrets: inherit
permissions:
contents: write
packages: write
id-token: write