From 43ac97339080991db5f0144d04283a87984ef389 Mon Sep 17 00:00:00 2001 From: Junya Morioka Date: Fri, 9 Jan 2026 03:05:28 +0900 Subject: [PATCH] fix(ci): checkout default branch in Update Docs job Checkout the default branch instead of the tag to avoid detached HEAD state, which caused git pull to fail. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 624a795..d050a1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -241,6 +241,8 @@ jobs: DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.event.repository.default_branch }} - uses: actions/setup-python@v5 with: