From cb48497df43bd8e6e26623ac8a092f4abb149ada Mon Sep 17 00:00:00 2001 From: infinitycat Date: Tue, 1 Apr 2025 10:33:45 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=20fork=20=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 .github/workflows/refactor.yml 文件 - 配置定时任务,每 30 分钟同步一次上游仓库的 refactor 分支 - 使用 tgymnich/fork-sync 动作进行同步 - 设置同步的上游仓库用户为 SengokuCola- 指定同步的上游分支为 refactor,本地分支也为 refactor --- .github/workflows/refactor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/refactor.yml b/.github/workflows/refactor.yml index ac2a4b5e9..0bd019f1f 100644 --- a/.github/workflows/refactor.yml +++ b/.github/workflows/refactor.yml @@ -9,9 +9,9 @@ jobs: repo-sync: runs-on: ubuntu-latest steps: - - uses: tgymnich/fork-sync@v2.0.10 + - uses: TG908/fork-sync@v2.0.10 with: - token: ${{ secrets.PERSONAL_TOKEN }} + github_token: ${{ secrets.PERSONAL_TOKEN }} owner: SengokuCola # fork 的上游仓库 user head: refactor # fork 的上游仓库 branch base: refactor # 本地仓库 branch