mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
CI: check if commit history need revise
This commit is contained in:
parent
85e709705b
commit
81becd5e66
@ -143,7 +143,6 @@ build_docs:
|
|||||||
- docs/_build/html
|
- docs/_build/html
|
||||||
expire_in: 1 mos
|
expire_in: 1 mos
|
||||||
|
|
||||||
|
|
||||||
test_nvs_on_host:
|
test_nvs_on_host:
|
||||||
stage: test
|
stage: test
|
||||||
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
@ -294,6 +293,21 @@ check_doc_links:
|
|||||||
- docs/_build/linkcheck
|
- docs/_build/linkcheck
|
||||||
expire_in: 1 mos
|
expire_in: 1 mos
|
||||||
|
|
||||||
|
check_commit_msg:
|
||||||
|
stage: deploy
|
||||||
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
||||||
|
tags:
|
||||||
|
- build
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
- /^release\/v/
|
||||||
|
- /^v\d+\.\d+(\.\d+)?($|-)/
|
||||||
|
before_script:
|
||||||
|
- echo "skip update submodule"
|
||||||
|
script:
|
||||||
|
- git checkout ${CI_BUILD_REF_NAME}
|
||||||
|
# commit start with "WIP: " need to be squashed before merge
|
||||||
|
- 'git log --pretty=%s master..${CI_BUILD_REF_NAME} | grep "^WIP: " || exit 0 && exit 1'
|
||||||
|
|
||||||
# AUTO GENERATED PART START, DO NOT MODIFY CONTENT BELOW
|
# AUTO GENERATED PART START, DO NOT MODIFY CONTENT BELOW
|
||||||
# template for test jobs
|
# template for test jobs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user