mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci check_commit_msg: Use CI_COMMIT_SHA to avoid ambiguity
This commit is contained in:
parent
45c926f8f0
commit
6aca6f5aab
@ -357,9 +357,10 @@ check_commit_msg:
|
||||
before_script:
|
||||
- echo "skip update submodule"
|
||||
script:
|
||||
- git checkout ${CI_COMMIT_REF_NAME}
|
||||
- git status
|
||||
- git log -n10 --oneline
|
||||
# commit start with "WIP: " need to be squashed before merge
|
||||
- 'git log --pretty=%s master..${CI_COMMIT_REF_NAME} | grep "^WIP: " || exit 0 && exit 1'
|
||||
- 'git log --pretty=%s master.. -- | grep "^WIP: " && exit 1 || exit 0'
|
||||
|
||||
check_submodule_sync:
|
||||
stage: deploy
|
||||
|
Loading…
Reference in New Issue
Block a user