From eb6cc2d3bf05326094c6a3b7418658540bf6e1e4 Mon Sep 17 00:00:00 2001 From: darox Date: Wed, 10 Jan 2024 08:53:19 +0100 Subject: [PATCH] GHA: git add Signed-off-by: darox --- .github/workflows/chart.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml index ffaa10b..bafcc1d 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yaml @@ -44,12 +44,14 @@ jobs: - name: Commit changes run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + git add . git commit --amend -m "Update chart version to ${{ steps.chart_version.outputs.version }} and app version to ${{ steps.app_version.outputs.version }}" - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} \ No newline at end of file + branch: ${{ github.head_ref }} \ No newline at end of file