ci: use actions-js/push for push action

This commit is contained in:
a5r0n
2023-12-09 19:45:04 +02:00
parent 307ad23073
commit d5c4612212
+6 -7
View File
@@ -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 }}