瀏覽代碼

ci: 添加从main到base-skiyee-ui分支的自动合并工作流

feige996 9 月之前
父節點
當前提交
b8d448fcbc
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .github/workflows/auto-merge.yml

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

@@ -96,3 +96,21 @@ jobs:
           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-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