From 22311d997db1a4dfbe51a3b9f23db8be464b3489 Mon Sep 17 00:00:00 2001 From: ironmagma Date: Sat, 1 Aug 2026 19:39:27 -0800 Subject: [PATCH] Remove old sync-upstream.yml, superseded by Cold-Air-Networks/mirror-sync --- .gitea/workflows/sync-upstream.yml | 34 ------------------------------ 1 file changed, 34 deletions(-) delete mode 100644 .gitea/workflows/sync-upstream.yml diff --git a/.gitea/workflows/sync-upstream.yml b/.gitea/workflows/sync-upstream.yml deleted file mode 100644 index 45a5ca56165..00000000000 --- a/.gitea/workflows/sync-upstream.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Sync from upstream - -on: - workflow_dispatch: {} - -jobs: - sync: - runs-on: [self-hosted-ubuntu] - timeout-minutes: 120 - steps: - - name: Mirror-fetch from upstream and push here - run: | - # Manual-only trigger is load-bearing: this repo exists - # specifically so chromium-fork's CI never talks to - # https://chromium.googlesource.com/external/github.com/gpuweb/cts.git directly (see chromium-fork's ci.yml - # url.insteadOf rewrite). Upstream only gets contacted when a - # human explicitly runs this. - set -e - WORK_DIR="$(mktemp -d)" - cd "$WORK_DIR" - - git clone --mirror \ - https://chromium.googlesource.com/external/github.com/gpuweb/cts.git \ - upstream.git - - SERVER_HOST="${{ github.server_url }}" - SERVER_HOST="${SERVER_HOST#https://}" - REPO_URL="https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${SERVER_HOST}/${{ github.repository }}.git" - - cd upstream.git - git push --mirror "$REPO_URL" - - cd "$WORK_DIR" - rm -rf upstream.git