- init unibest v4.4.0 base template - tabbar: 4 tabs (打卡/进度/测算/持仓) with carbon icons - pages/checkin: daily checklist, streak counter, monthly rate - pages/progress: asset snapshot, progress bar to 71万 target - pages/calculator, holdings: placeholder pages (stage 2) - store/checkin.ts + store/progress.ts with pinia persist - vite: host 0.0.0.0 for WSL2→Windows browser access Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
name: Auto Merge Main to Other Branches
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch: # 手动触发
|
|
|
|
jobs:
|
|
merge-to-base:
|
|
name: Merge main into base
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
|
|
|
|
- name: Merge main into base
|
|
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
|
|
|
|
- name: Merge base into base-login
|
|
run: |
|
|
git config user.name "GitHub Actions"
|
|
git config user.email "actions@github.com"
|
|
git checkout base-login
|
|
git merge base --no-ff -m "Auto merge base into base-login"
|
|
git push origin base-login
|
|
|
|
- name: Merge base into base-i18n
|
|
run: |
|
|
git config user.name "GitHub Actions"
|
|
git config user.email "actions@github.com"
|
|
git checkout base-i18n
|
|
git merge base --no-ff -m "Auto merge base into base-i18n"
|
|
git push origin base-i18n
|
|
|
|
- name: Merge base into base-login-i18n
|
|
run: |
|
|
git config user.name "GitHub Actions"
|
|
git config user.email "actions@github.com"
|
|
git checkout base-login-i18n
|
|
git merge base --no-ff -m "Auto merge base into base-login-i18n"
|
|
git push origin base-login-i18n
|