From bee2042f5316ad4a49452ce1af03c1c10a7a6aca Mon Sep 17 00:00:00 2001 From: "lixuefei.1313" Date: Thu, 11 Dec 2025 11:40:19 +0800 Subject: [PATCH] feat: add no-verify in sync workflow --- .github/workflows/release-changelog.yml | 3 ++- .github/workflows/sync-main-to-develop.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-changelog.yml b/.github/workflows/release-changelog.yml index 1c1164e44..30586af15 100644 --- a/.github/workflows/release-changelog.yml +++ b/.github/workflows/release-changelog.yml @@ -44,6 +44,7 @@ jobs: - name: Create branch run: | + git config core.hooksPath /dev/null git status git fetch origin develop:develop git checkout develop @@ -64,7 +65,7 @@ jobs: run: | git add . git commit -m "docs: generate changelog of release ${{ github.event.release.tag_name }}" -n - git push origin docs/generate-changelog-${{ github.event.release.tag_name }} + git push --no-verify origin docs/generate-changelog-${{ github.event.release.tag_name }} - name: Create Pull Request uses: dustinirving/create-pr@v1.0.2 diff --git a/.github/workflows/sync-main-to-develop.yml b/.github/workflows/sync-main-to-develop.yml index b6f0e4414..78c57fb41 100644 --- a/.github/workflows/sync-main-to-develop.yml +++ b/.github/workflows/sync-main-to-develop.yml @@ -56,9 +56,10 @@ jobs: - name: Create a new branch run: | + git config core.hooksPath /dev/null git status git checkout -b sync/main-${{ steps.package-version.outputs.current_version }} - git push origin sync/main-${{ steps.package-version.outputs.current_version }} + git push --no-verify origin sync/main-${{ steps.package-version.outputs.current_version }} - name: Create Pull Request uses: dustinirving/create-pr@v1.0.2