From ae6f50bfe8d510d811909a6de84a96ad4c15feb2 Mon Sep 17 00:00:00 2001 From: Frangeris Peguero Date: Thu, 3 Oct 2024 22:57:44 -0300 Subject: [PATCH] fix: Use github action instead of doing commit manually (#7) Use github action instead of doing commit manually --- .github/workflows/bump.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 2504fab..4bf2ac0 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -36,10 +36,6 @@ jobs: - name: Update package.json run: npm version ${{ env.VERSION }} --no-git-tag-version --allow-same-version - - name: Commit updated package.json - run: | - git config --global user.name "GitHub Actions" - git config --global user.email "actions@github.com" - git add package.json - git commit -m "bump: Upgrade version to ${{ env.VERSION }}" - git push origin HEAD + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "bump: Upgrade version to ${{ env.VERSION }}"