From 107ea95f94db50b0f2a2321c2e7a9630288e8f41 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: Fri, 14 Apr 2023 22:22:55 +0800 Subject: [PATCH] fix: genlocale (#53) --- .github/workflows/genlocale.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/genlocale.yml b/.github/workflows/genlocale.yml index 619ccf6..fd5034e 100644 --- a/.github/workflows/genlocale.yml +++ b/.github/workflows/genlocale.yml @@ -26,9 +26,8 @@ jobs: git add --all git commit -m "🎨 同步 locale" - - name: Push changes + - name: Create Pull Request if: ${{ !github.head_ref }} - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: main + continue-on-error: true + uses: peter-evans/create-pull-request@v4 +