From 0bc54395953c9b6ae982c527f1c69ebe0c1bbbea Mon Sep 17 00:00:00 2001 From: Martin Donadieu Date: Fri, 25 Oct 2024 14:42:06 +0900 Subject: [PATCH] fix: try correct push --- .github/workflows/bump_and_build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/bump_and_build.yml b/.github/workflows/bump_and_build.yml index 8fd6bf9..479e302 100644 --- a/.github/workflows/bump_and_build.yml +++ b/.github/workflows/bump_and_build.yml @@ -135,6 +135,16 @@ jobs: run: pnpm build - name: Verify Web run: pnpm verify:web + - name: Setup Git + run: | + git init + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git remote add origin "https://github.com/${{ github.repository }}.git" + git fetch + git checkout -b "${{ github.ref_name }}" + git add . + git commit -m "chore(release): ${{ needs.bump-version.outputs.new_version }}" - name: Push changes and tag env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}