From 9586f37e850de23402b291d8e4ed9f14141be360 Mon Sep 17 00:00:00 2001 From: zhuyuan-bot Date: Mon, 13 Apr 2026 09:13:24 +0000 Subject: [PATCH] Revert "Add GitHub Actions workflow for syncing upstream" This reverts commit 5ffd84b57d9c1b2f54bcc352eb68e80b5a24eb82. --- sync-upstream.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 sync-upstream.yml diff --git a/sync-upstream.yml b/sync-upstream.yml deleted file mode 100644 index 00f957e8..00000000 --- a/sync-upstream.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: 同步冰朔上游仓库 - -on: - schedule: - - cron: '0 2 * * *' - workflow_dispatch: - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: $ secrets.GITHUB_TOKEN - - - name: 配置 Git - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - - name: 添加上游仓库 - run: | - git remote add upstream https://github.com/qinfendebingshuo/guanghulab.git || true - git fetch upstream - - - name: 合并上游更新 - run: | - git checkout main - git merge upstream/main --no-edit --allow-unrelated-histories - - - name: 推送 - run: git push origin main