We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ci-clone
drone.yml
1 parent 18743bf commit 668c499Copy full SHA for 668c499
.drone.yml
@@ -10,7 +10,14 @@ pipeline:
10
clone:
11
image: plugins/git
12
commands:
13
- - ./project/scripts/ci-clone
+ # if build is PR rebase on top of target branch
14
+ - if [ "$DRONE_BUILD_EVENT" = "pull_request" ]; then
15
+ git config user.email "[email protected]";
16
+ git config user.name "Dotty CI";
17
+ git pull "$DRONE_REMOTE_URL" "$DRONE_BRANCH";
18
+ fi
19
+ # clone submodules in parallelRiRem
20
+ - git submodule update --init --recursive --jobs 3
21
22
# TESTS:
23
# We run tests in parallel. Tests run in a copy of the working directory to avoid conflict
project/scripts/ci-clone
0 commit comments