We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043015c commit 01f4750Copy full SHA for 01f4750
.github/workflows/pr-title-semver-check.yml
@@ -206,7 +206,9 @@ jobs:
206
# Validation rules
207
case "$TYPE" in
208
fix)
209
- if [[ "$SEMVER_LEVEL" == "major" ]] || [[ "$SEMVER_LEVEL" == "minor" ]] || [[ "$SEMVER_LEVEL" == "none" ]]; then
+ if [[ "$SEMVER_LEVEL" == "major" ]] && [[ -z "$IS_BREAKING_CHANGE" ]]; then
210
+ VALIDATION_FAILED="true"
211
+ elif [[ "$SEMVER_LEVEL" == "minor" ]] || [[ "$SEMVER_LEVEL" == "none" ]]; then
212
VALIDATION_FAILED="true"
213
fi
214
;;
0 commit comments