ci: auto-merge to master after publish

🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-21 18:09:21 +09:00
parent d7bc817b75
commit 810181cccf

View File

@@ -129,3 +129,12 @@ jobs:
run: gh release delete next --yes 2>/dev/null || echo "No draft release to delete" run: gh release delete next --yes 2>/dev/null || echo "No draft release to delete"
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 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