| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- name: Auto Merge Main to Other Branches
- on:
- push:
- branches:
- - main
- workflow_dispatch: # 手动触发
- jobs:
- # merge-to-release:
- # name: Merge main into release
- # 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 release
- # run: |
- # git config user.name "GitHub Actions"
- # git config user.email "actions@github.com"
- # git checkout release
- # git merge main --no-ff -m "Auto merge main into release"
- # git push origin release
- merge-to-i18n:
- name: Merge main into i18n
- 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 i18n
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout i18n
- git merge main --no-ff -m "Auto merge main into i18n"
- git push origin i18n
- merge-to-base-sard-ui:
- name: Merge main into base-sard-ui
- 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-sard-ui
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout base-sard-ui
- git merge main --no-ff -m "Auto merge main into base-sard-ui"
- git push origin base-sard-ui
- merge-to-base-uv-ui:
- name: Merge main into base-uv-ui
- 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-uv-ui
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout base-uv-ui
- git merge main --no-ff -m "Auto merge main into base-uv-ui"
- git push origin base-uv-ui
- merge-to-base-uview-plus:
- name: Merge main into base-uview-plus
- 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-uview-plus
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout base-uview-plus
- git merge main --no-ff -m "Auto merge main into base-uview-plus"
- git push origin base-uview-plus
- merge-to-base-tm-ui:
- name: Merge main into base-tm-ui
- 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-tm-ui
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout base-tm-ui
- git merge main --no-ff -m "Auto merge main into base-tm-ui"
- git push origin base-tm-ui
- merge-to-base-skiyee-ui:
- name: Merge main into base-skiyee-ui
- 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-skiyee-ui
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout base-skiyee-ui
- git merge main --no-ff -m "Auto merge main into base-skiyee-ui"
- git push origin base-skiyee-ui
- merge-to-main-v4:
- name: Merge main into main-v4
- 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 main-v4
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout main-v4
- git merge main --no-ff -m "Auto merge main into main-v4"
- git push origin main-v4
- merge-to-i18n-v4:
- name: Merge main into i18n-v4
- 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 i18n-v4
- run: |
- git config user.name "GitHub Actions"
- git config user.email "actions@github.com"
- git checkout i18n-v4
- git merge main --no-ff -m "Auto merge main into i18n-v4"
- git push origin i18n-v4
|