From 704c219409915294e3a4228d9356c5fa780698dd Mon Sep 17 00:00:00 2001 From: theonlytails Date: Mon, 29 Jan 2024 14:31:09 +0200 Subject: [PATCH] try to fix the commit workflow --- .github/workflows/publish_npm.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_npm.yml b/.github/workflows/publish_npm.yml index f50589f83a..6275ae33ee 100644 --- a/.github/workflows/publish_npm.yml +++ b/.github/workflows/publish_npm.yml @@ -43,8 +43,9 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - uses: EndBug/add-and-commit@v9 + - name: Push version changes to main branch + uses: stefanzweifel/git-auto-commit-action@v4 with: - message: Bumps version of @kulupu-linku/sona to ${{ github.event.release.tag_name }} - add: schemas/package.json - pull: --commit + commit_message: "bump @kulupu-linku/sona version ${{ github.event.release.tag_name }}" + branch: ${{ github.event.repository.default_branch }} + file_pattern: schemas/package.json