From 592d19eb0391a20c8163d5b2a1b220790e11e066 Mon Sep 17 00:00:00 2001 From: rami3l Date: Fri, 3 Oct 2025 19:01:48 +0800 Subject: [PATCH] ci(docs): fix local doc branch name --- .github/workflows/ci.yaml | 1 + ci/actions-templates/test-docs-template.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cf6b274206..397ecda51c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1584,6 +1584,7 @@ jobs: if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }} run: | cd ${{ runner.temp }}/book + git config --global init.defaultBranch main git init git config user.name "Deploy from CI" git config user.email "" diff --git a/ci/actions-templates/test-docs-template.yaml b/ci/actions-templates/test-docs-template.yaml index 54e1079c7b..3a4aa62bf8 100644 --- a/ci/actions-templates/test-docs-template.yaml +++ b/ci/actions-templates/test-docs-template.yaml @@ -44,6 +44,7 @@ jobs: # skip-all if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }} run: | cd ${{ runner.temp }}/book + git config --global init.defaultBranch main git init git config user.name "Deploy from CI" git config user.email ""