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