From adcdfa812095e98ea6225a323aafd6f713257a13 Mon Sep 17 00:00:00 2001 From: Frederic Leger Date: Sat, 21 Dec 2024 19:15:29 +0100 Subject: [PATCH] ci: fix release workflow --- .github/workflows/release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75a994c..ca46e9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,15 +86,23 @@ jobs: CHART_PATH: ${{github.workspace}}/helm/chart VERSION: ${{ needs.update_release_draft.outputs.latestRelease }} - - name: commit helm chart version changes - uses: stefanzweifel/git-auto-commit-action@v5 - - name: update helm chart docs uses: shaybentk/helm-docs-action@v0.0.1 with: working-dir: helm/chart git-push: "true" + - uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@0.15.0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + branch: release-chart-${{ needs.update_release_draft.outputs.latestRelease }} + title: "ci: release chart ${{ needs.update_release_draft.outputs.latestRelease }}" + body: Release app and chart version ${{ needs.update_release_draft.outputs.latestRelease }} + commit-message: | + ci: release chart ${{ needs.update_release_draft.outputs.latestRelease }} + + [skip ci] + # Push the chart - name: push helm chart to OCI registry uses: hoverkraft-tech/helm-push@v5.0.0