From d5c46122124615f44c53040447b909c7d0595bea Mon Sep 17 00:00:00 2001 From: a5r0n Date: Sat, 9 Dec 2023 19:45:04 +0200 Subject: [PATCH] ci: use actions-js/push for push action --- .github/workflows/push-chart.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/push-chart.yml b/.github/workflows/push-chart.yml index c3858cb..cc7672d 100644 --- a/.github/workflows/push-chart.yml +++ b/.github/workflows/push-chart.yml @@ -25,10 +25,9 @@ jobs: - name: Update README.md with Helm chart version run: | sed -i "s/--version .*/--version $(grep -oP '^version: \K.*' n8n/Chart.yaml)/" README.md - - name: Commit and push changes - run: | - git config --global user.name "${{ github.actor }}" - git config --global user.email "${{ github.actor }}@users.noreply.github.com" - git add README.md - git commit -m "release: Update Helm chart version to $(grep -oP '^version: \K.*' n8n/Chart.yaml)" - git push + rm n8n-*.tgz -f + - name: Commit & Push changes + uses: actions-js/push@master + with: + message: "release: update README.md with Helm chart version" + github_token: ${{ secrets.GITHUB_TOKEN }}