Skip to content

Commit

Permalink
ADLR/megatron-lm!2068 - ci: Skip cherry-pick on empty label
Browse files Browse the repository at this point in the history
  • Loading branch information
ko3n1g committed Sep 9, 2024
1 parent 27c3737 commit 6dade5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab/stages/00.pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}' )
Expand Down

0 comments on commit 6dade5f

Please sign in to comment.