Allow to explicitly skip changelog

This commit is contained in:
Tusooa Zhu 2022-08-28 09:57:32 -04:00
parent 27a8f6a8d9
commit d3871fa360
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
2 changed files with 1 additions and 1 deletions

View File

@ -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

0
changelog.d/3739.skip Normal file
View File