From 6dade5fcf515f8362d3c7cf7f4a0dee48eb7ae6e Mon Sep 17 00:00:00 2001 From: Oliver Koenig Date: Sun, 8 Sep 2024 19:51:39 -0700 Subject: [PATCH] ADLR/megatron-lm!2068 - ci: Skip cherry-pick on empty label --- .gitlab/stages/00.pre.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/stages/00.pre.yml b/.gitlab/stages/00.pre.yml index b4c85ae211..5ebdb19691 100644 --- a/.gitlab/stages/00.pre.yml +++ b/.gitlab/stages/00.pre.yml @@ -87,6 +87,7 @@ maybe_cherry_pick_commit: GIT_STRATEGY: "clone" script: - set -x + - set +e - SHA=$(git rev-list --no-merges -n 1 HEAD) - MESSAGE=$(git log -n 1 --pretty=format:%s $SHA) - MR_ID=$(echo $MESSAGE | awk -F'!' '{print $2}' | awk '{print $1}' )