From db18e9224903592dcb9a0b7f9ce52f424cd2051f Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Wed, 26 Aug 2026 11:13:47 +0800 Subject: [PATCH] ci: pin forked sync action to commit fixing rev-list ambiguity The upstream aormsby/fork-sync-with-upstream-action v3.4.3 fails when the target branch name collides with a real directory in the repo (branch `main` vs `main/` dir), aborting the daily fork-sync workflow with "ambiguous argument 'main'". Point the pin temporarily at the fork that carries the fix (upstream PR aormsby/Fork-Sync-With-Upstream-action#85) so the sync can run; revert to the official release once it is merged and tagged. --- .github/workflows/sync-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-main.yml b/.github/workflows/sync-main.yml index 221ab9b..4785317 100644 --- a/.github/workflows/sync-main.yml +++ b/.github/workflows/sync-main.yml @@ -24,7 +24,7 @@ jobs: # Step 2: run the sync action - name: Sync upstream changes id: sync - uses: aormsby/fork-sync-with-upstream-action@83d78e8c4bf524e79b091cf257deba4dee9e60df # v3.4.3 + uses: Shinku-Chen/fork-sync-with-upstream-action@66925e8bb37b2590950a72d786b308e4f1b5301f # TEMP: v3.4.3 + fix for `rev-list` ambiguous branch/dir `main` (upstream PR aormsby/Fork-Sync-With-Upstream-action#85); switch back to aormsby release once merged with: upstream_sync_repo: FoloToy/ai-passport upstream_sync_branch: main