From a008faf805f3282b6d8432fddfed620475c84005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 10 Dec 2022 14:35:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20push?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 828a82e4..475774f1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -19,6 +19,7 @@ jobs: version: latest - name: Commit back + if: ${{ !github.head_ref }} continue-on-error: true run: | git config --local user.name 'github-actions[bot]' @@ -27,4 +28,5 @@ jobs: git commit -m "🎨 改进代码样式" - name: Create Pull Request + if: ${{ !github.head_ref }} uses: peter-evans/create-pull-request@v4