ci(workflow): 将自动合并目标分支从base改为wot-ui

This commit is contained in:
feige996
2025-10-22 09:48:49 +08:00
parent b7cb032174
commit 6ca56573b6

View File

@@ -7,8 +7,8 @@ on:
workflow_dispatch: # 手动触发
jobs:
merge-to-base:
name: Merge main into base
merge-to-wot-ui:
name: Merge main into wot-ui
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -17,13 +17,13 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
- name: Merge main into base
- name: Merge main into wot-ui
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git checkout base
git merge main --no-ff -m "Auto merge main into base"
git push origin base
git checkout wot-ui
git merge main --no-ff -m "Auto merge main into wot-ui"
git push origin wot-ui
merge-to-i18n:
name: Merge main into i18n