From ef7276a46ad70e3d625b1795e75db5867a004521 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Sat, 17 Jan 2026 17:58:48 +0900 Subject: [PATCH] fix(ci): stash before checkout in merge step --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 243982dd..0db00987 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -152,6 +152,7 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" VERSION=$(jq -r '.version' package.json) + git stash --include-untracked || true git checkout master git reset --hard "v${VERSION}" git push -f origin master