From f827e221e716be1cc112443cb52540ab6bff1584 Mon Sep 17 00:00:00 2001 From: zhiyi Date: Thu, 10 Oct 2024 17:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-generate-pac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-generate-pac.yml b/.github/workflows/auto-generate-pac.yml index 4e1dc39..932ae4c 100644 --- a/.github/workflows/auto-generate-pac.yml +++ b/.github/workflows/auto-generate-pac.yml @@ -28,7 +28,7 @@ jobs: - name: Commit and push changes run: | last_commit_message=$(git log -1 --pretty=%B) - $GITHUB_EVENT_NAME == 'schedule' && commit_message="定期更新数据并生成 gfw.pac" || commit_message="自动生成 gfw.pac: $last_commit_message" + ${{ github.event_name }} == 'schedule' && commit_message="定期更新数据并生成 gfw.pac" || commit_message="自动生成 gfw.pac: $last_commit_message" git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add -A