فهرست منبع

ci(workflow): 更新自动合并工作流配置

移除旧的合并任务并添加新的合并目标分支
feige996 5 ماه پیش
والد
کامیت
fd6a382278
1فایلهای تغییر یافته به همراه18 افزوده شده و 89 حذف شده
  1. 18 89
      .github/workflows/auto-merge.yml

+ 18 - 89
.github/workflows/auto-merge.yml

@@ -24,80 +24,9 @@ jobs:
           git checkout base
           git merge main --no-ff -m "Auto merge main into base"
           git push origin base
-  merge-to-wot-ui:
-    name: Merge main into wot-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 wot-ui
-        run: |
-          git config user.name "GitHub Actions"
-          git config user.email "actions@github.com"
-          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
-    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-pro:
-    name: Merge main into base-uview-pro
+  merge-to-base-login:
+    name: Merge main into base-login
     runs-on: ubuntu-latest
     steps:
       - name: Checkout repository
@@ -106,16 +35,16 @@ jobs:
           fetch-depth: 0
           token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
 
-      - name: Merge main into base-uview-pro
+      - name: Merge main into base-login
         run: |
           git config user.name "GitHub Actions"
           git config user.email "actions@github.com"
-          git checkout base-uview-pro
-          git merge main --no-ff -m "Auto merge main into base-uview-pro"
-          git push origin base-uview-pro
+          git checkout base-login
+          git merge main --no-ff -m "Auto merge main into base-login"
+          git push origin base-login
 
-  merge-to-base-uview-plus:
-    name: Merge main into base-uview-plus
+  merge-to-base-i18n:
+    name: Merge main into base-i18n
     runs-on: ubuntu-latest
     steps:
       - name: Checkout repository
@@ -124,16 +53,16 @@ jobs:
           fetch-depth: 0
           token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
 
-      - name: Merge main into base-uview-plus
+      - name: Merge main into base-i18n
         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
+          git checkout base-i18n
+          git merge main --no-ff -m "Auto merge main into base-i18n"
+          git push origin base-i18n
 
-  merge-to-base-skiyee-ui:
-    name: Merge main into base-skiyee-ui
+  merge-to-base-i18n-login:
+    name: Merge main into base-i18n-login
     runs-on: ubuntu-latest
     steps:
       - name: Checkout repository
@@ -142,10 +71,10 @@ jobs:
           fetch-depth: 0
           token: ${{ secrets.GH_TOKEN_AUTO_MERGE }}
 
-      - name: Merge main into base-skiyee-ui
+      - name: Merge main into base-i18n-login
         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
+          git checkout base-i18n-login
+          git merge main --no-ff -m "Auto merge main into base-i18n-login"
+          git push origin base-i18n-login