Skip to content

Commit

Permalink
Increase commits depth on sync cmake workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexv-smirnov authored Feb 16, 2024
1 parent d71b454 commit 0491f75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync_cmakebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0491f75

Please sign in to comment.