Browse Source

chore: sync to develop action

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/8558/head
mertmit 6 months ago
parent
commit
7191a4c58e
  1. 2
      .github/workflows/sync-to-develop.yml

2
.github/workflows/sync-to-develop.yml

@ -37,6 +37,8 @@ jobs:
cd nocodb cd nocodb
git fetch --quiet --unshallow origin git fetch --quiet --unshallow origin
git checkout master 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 : # 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) BRANCH_NAME=nc/$(git rev-list -n 1 HEAD | cut -c1-8)
git checkout -b $BRANCH_NAME git checkout -b $BRANCH_NAME

Loading…
Cancel
Save