From 810181cccf08275f55d0ceff4d058b00f8bad2d1 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 21 Dec 2025 18:09:21 +0900 Subject: [PATCH] ci: auto-merge to master after publish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode) --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 19d1bb8..9a3da58 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -129,3 +129,12 @@ jobs: run: gh release delete next --yes 2>/dev/null || echo "No draft release to delete" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Merge to master + run: | + 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 checkout master + git reset --hard "v${VERSION}" + git push -f origin master