From 80a66669e0a92e5188fd24098b0d5ef4e1036b0f Mon Sep 17 00:00:00 2001 From: Hintay Date: Sat, 8 Feb 2025 14:16:15 +0900 Subject: [PATCH] chore(ci): update branch sync workflow --- .github/workflows/sync-main-on-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-main-on-release.yml b/.github/workflows/sync-main-on-release.yml index bd24fac2..9da99d53 100644 --- a/.github/workflows/sync-main-on-release.yml +++ b/.github/workflows/sync-main-on-release.yml @@ -1,6 +1,7 @@ name: Sync branch on: + workflow_dispatch: release: types: [published] branches: [dev] @@ -13,6 +14,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: dev + clean: false - name: Configure Git run: | @@ -22,5 +25,4 @@ jobs: - name: Force push dev to main run: | git fetch origin - git checkout dev - git push origin dev:main --force \ No newline at end of file + git push origin dev:main --force