aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-02-16 17:23:52 +0100
committerGitHub <noreply@github.com>2024-02-16 17:23:52 +0100
commit0491f751bf7179304be521251056d3cf10a88da2 (patch)
treef4ccc78801749391c0f986c53d73e672d807d540
parentd71b454b2d5bd3a833519956dd5c218dbb2d2b5e (diff)
downloadydb-0491f751bf7179304be521251056d3cf10a88da2.tar.gz
Increase commits depth on sync cmake workflow
-rw-r--r--.github/workflows/sync_cmakebuild.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/sync_cmakebuild.yml b/.github/workflows/sync_cmakebuild.yml
index d1ccd49917..710d2991b9 100644
--- a/.github/workflows/sync_cmakebuild.yml
+++ b/.github/workflows/sync_cmakebuild.yml
@@ -28,7 +28,9 @@ jobs:
git config --global user.name "Alexander Smirnov"
cd ydb
git fetch --depth `expr $(git rev-list --count HEAD) + 1`
- git fetch origin cmakebuild:cmakebuild --depth 3 # 1st with cmake generation, 2nd with previous merge, 3rd is common between main and cmakebuild
+ # Depth 10: 1st with cmake generation, 2nd with previous merge, 3rd is common between main and cmakebuild,
+ # others for possible commits directly on cmakebuild branch
+ git fetch origin cmakebuild:cmakebuild --depth 10
mainsha=$(git rev-parse HEAD)
git checkout cmakebuild
prevsha=$(git rev-parse HEAD)