浏览代码

build: auto merge to base-sard-ui

feige996 10 月之前
父节点
当前提交
67f76415e1
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .github/workflows/auto-merge.yml

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

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