Allow to explicitly skip changelog
This commit is contained in:
parent
27a8f6a8d9
commit
d3871fa360
|
@ -44,7 +44,7 @@ check-changelog:
|
|||
rules:
|
||||
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
|
||||
script:
|
||||
- count=0; for i in changelog.d/"$CI_MERGE_REQUEST_IID".{add,remove,fix,security}; do [ -f "$i" ]; count=$(( $count + 1 - $? )); done; [ $count -eq 1 ]
|
||||
- count=0; for i in changelog.d/"$CI_MERGE_REQUEST_IID".{add,remove,fix,security,skip}; do [ -f "$i" ]; count=$(( $count + 1 - $? )); done; [ $count -eq 1 ]
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
Loading…
Reference in New Issue