From b1b641652160698f5c7a6a683bcac8d97ce68704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Wed, 31 Aug 2022 08:32:53 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E8=87=AA=E5=8B=95=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC=E8=99=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto_newversion.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/auto_newversion.yml b/.github/workflows/auto_newversion.yml index e482f41..b9b6aa6 100644 --- a/.github/workflows/auto_newversion.yml +++ b/.github/workflows/auto_newversion.yml @@ -29,3 +29,12 @@ jobs: for added_modified_file in "${added_modified_files[@]}"; do python auto_update_version.py done + + - name: Commit files + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add *.txt + git commit -m "🤖 自動更新 版本號" + - name: Push changes + uses: ad-m/github-push-action@master