diff --git a/ci/scripts/ci_validate_workflow.sh b/ci/scripts/ci_validate_workflow.sh index b9f471f54..1cf007911 100755 --- a/ci/scripts/ci_validate_workflow.sh +++ b/ci/scripts/ci_validate_workflow.sh @@ -2,7 +2,7 @@ GH_COMMIT_MESSAGE=$(git log --pretty=oneline -n 1 $CIRCLE_SHA1) -if [[ $GH_COMMIT_MESSAGE != *"ci(release): generate CHANGELOG.md for version"* && $GH_COMMIT_MESSAGE != *"ci(build): release version"* ]]; then +if [[ $GH_COMMIT_MESSAGE == *"ci(release): generate CHANGELOG.md for version"* || $GH_COMMIT_MESSAGE == *"ci(build): release version"* ]]; then echo "Running duplicated" exit 1 fi \ No newline at end of file