From 7191a4c58edd33ff5e3f3365a854bf8162fd3293 Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 23 May 2024 15:36:27 +0300 Subject: [PATCH] chore: sync to develop action Signed-off-by: mertmit --- .github/workflows/sync-to-develop.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sync-to-develop.yml b/.github/workflows/sync-to-develop.yml index c0a4db783e..71aa5b2a3b 100644 --- a/.github/workflows/sync-to-develop.yml +++ b/.github/workflows/sync-to-develop.yml @@ -37,6 +37,8 @@ jobs: cd nocodb git fetch --quiet --unshallow origin git checkout master + # reset to origin/master + git reset --hard origin/master : # Use the first 8 characters of the latest commit hash as the branch name BRANCH_NAME=nc/$(git rev-list -n 1 HEAD | cut -c1-8) git checkout -b $BRANCH_NAME