Skip to content

Commit a278294

Browse files
committed
chore: Add warning to unexpected-major-version-check failure
1 parent 82de3f7 commit a278294

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/release-checks.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ jobs:
8787
fi
8888
}; done
8989
if [[ "$FAIL" == "true" ]]; then
90-
echo "Add \"MAJOR_VERSION_ALLOWED=component1,component2\" to the PR description to allow "
90+
echo "⚠️ IMPORTANT ⚠️ This check is meant to prevent the accidental release of new major versions. New "
91+
echo "major versions should only be released intentionally. If you are not explicitly trying to release a "
92+
echo "new major version and you don't have explicit approval from the Language Lead, "
93+
echo "⚠️ DO NOT BYPASS THIS CHECK ⚠️"
94+
echo -e "\nAdd \"MAJOR_VERSION_ALLOWED=component1,component2\" to the PR description to allow "
9195
echo "major version releases for those components"
9296
exit 1
9397
fi

0 commit comments

Comments
 (0)