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 }}