Skip to content

Commit

Permalink
ci: use actions-js/push for push action
Browse files Browse the repository at this point in the history
  • Loading branch information
a5r0n committed Dec 9, 2023
1 parent 307ad23 commit d5c4612
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/push-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d5c4612

Please sign in to comment.