From 13a1a61e0cf518c83de2a6e1e1976106fe139f37 Mon Sep 17 00:00:00 2001 From: yym68686 Date: Fri, 27 Sep 2024 01:24:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20Docs:=20Update=20main.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2c48186..adc9bf2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,14 @@ jobs: echo "New version: $NEW_VERSION" echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT + - name: Commit version bump + run: | + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git add VERSION + git commit -m "Bump version to ${{ steps.bump_version.outputs.new_version }}" + git push + - name: Build and push Docker image uses: docker/build-push-action@v2.7.0 with: