From 379a7b10027752f6fe3836cef1875a2348387ab8 Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Thu, 15 Feb 2024 16:12:12 -0500 Subject: [PATCH] Allow empty commits --- .github/workflows/fork-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml index 4944977e..ac082fb2 100644 --- a/.github/workflows/fork-sync.yml +++ b/.github/workflows/fork-sync.yml @@ -40,7 +40,7 @@ jobs: git checkout -b release/${TAG} ${TAG} git rm .github/workflows/* git commit -m "Remove existing workflows" - git rev-list --no-merges --reverse main ^upstream/main | git cherry-pick --stdin + git rev-list --no-merges --reverse main ^upstream/main | git cherry-pick --stdin --allow-empty done for TAG in ${NEW_TAGS}; do git push -u origin release/${TAG}